Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #979 from omu/fix-pdf-files
Browse files Browse the repository at this point in the history
Pdf sayfalarının görüntülenmesini sağla
  • Loading branch information
huseyin authored Aug 27, 2019
2 parents 35320e9 + 01e6d1d commit 9c9ff6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ gem 'groupdate'
gem 'pagy'
gem 'simple_form'
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'

# api
gem 'jbuilder', '~> 2.9'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ GEM
websocket-extensions (0.1.4)
wicked_pdf (1.4.0)
activesupport
wkhtmltopdf-binary (0.12.4)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.1.9)
Expand Down Expand Up @@ -479,6 +480,7 @@ DEPENDENCIES
webmock
webpacker
wicked_pdf
wkhtmltopdf-binary

RUBY VERSION
ruby 2.6.3p62
Expand Down
2 changes: 1 addition & 1 deletion app/views/calendar_management/calendars/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<td><%= calendar.timezone %></td>
<td><%= full_name(calendar.academic_term) %></td>
<td>
<%= link_to fa_icon('file-pdf-o'), calendar, format: :pdf, class: 'btn btn-outline-primary btn-sm' %>
<%= link_to fa_icon('eye'), calendar, format: :pdf, class: 'btn btn-outline-primary btn-sm' %>
<%= link_to_actions(calendar, except: :show) %>
<%= link_to fa_icon('university', text: t('.assign_to_units')),
[calendar, :units],
Expand Down

0 comments on commit 9c9ff6c

Please sign in to comment.