Skip to content

Commit

Permalink
bump will_paginate dependency and remove the custom LinkRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed May 26, 2010
1 parent 0030fc7 commit 83fa1aa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion app/views/tolk/locales/all.html.erb
Expand Up @@ -53,7 +53,7 @@
<p><%= locale_form.submit "Save changes" %></p>
</div>
<div class="paginate">
<%= will_paginate @phrases, :renderer => Tolk::LinkRenderer %>
<%= will_paginate @phrases %>
</div>
<% end %>
<% else %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/tolk/locales/show.html.erb
Expand Up @@ -49,7 +49,7 @@
</div>
<% end %>
<div class="paginate">
<%= will_paginate @phrases, :renderer => Tolk::LinkRenderer %>
<%= will_paginate @phrases %>
</div>
<% else %>
<p style="text-align: left">There aren't any missing or updated phrases that need translation.</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/tolk/searches/show.html.erb
Expand Up @@ -47,7 +47,7 @@
</div>
<% end %>
<div class="paginate">
<%= will_paginate @phrases, :renderer => Tolk::LinkRenderer %>
<%= will_paginate @phrases %>
</div>
<% else %>
<p style="text-align: left">No search results.</p>
Expand Down
28 changes: 0 additions & 28 deletions lib/tolk/link_renderer.rb

This file was deleted.

2 changes: 1 addition & 1 deletion tolk.gemspec
Expand Up @@ -4,7 +4,7 @@ Gem::Specification.new do |gem|
gem.date = Time.now.strftime('%Y-%m-%d')

gem.add_dependency 'ya2yaml', '~> 0.29.2'
gem.add_dependency 'will_paginate', '~> 2.3.12'
gem.add_dependency 'will_paginate', '~> 2.3.13'
# gem.add_development_dependency 'rspec', '~> 1.2.9'

gem.summary = "Tolk, the Rails translation engine"
Expand Down

0 comments on commit 83fa1aa

Please sign in to comment.