Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymuranov committed Jun 27, 2013
1 parent f5b916c commit 08bafa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/view_pagination_helpers.rb
Expand Up @@ -8,9 +8,9 @@ def paginating_form(page_count = 1, paginating_parameters = {}, options = {})
params_key_prefix = options[:params_key_prefix] || 'view'
params_key_from_hash_key =
if params_key_prefix.empty?
lambda { |key| key.to_s }
lambda{|key| key.to_s }
else
lambda { |key| "#{ params_key_prefix }[#{ key }]" }
lambda{|key| "#{ params_key_prefix }[#{ key }]" }
end
page_ranges_before =
if page > 12
Expand Down

0 comments on commit 08bafa1

Please sign in to comment.