Remove unused code

#600
This commit is contained in:
Artur Beljajev 2017-10-02 08:55:19 +03:00
parent 92b125b4a7
commit c1875ec88e
2 changed files with 0 additions and 14 deletions

View file

@ -3,11 +3,4 @@ module Registrant::ApplicationHelper
return '' if unstable_env.nil?
"background-image: url(#{image_path("registrar/bg-#{unstable_env}.png")});"
end
def pagination_details
params[:page] ||= 1
limit = ENV['depp_records_on_page'] || 20
offset = ((params[:page].to_i - 1) * limit.to_i)
[limit, offset]
end
end

View file

@ -3,11 +3,4 @@ module Registrar::ApplicationHelper
return '' if unstable_env.nil?
"background-image: url(#{image_path("registrar/bg-#{unstable_env}.png")});"
end
def pagination_details
params[:page] ||= 1
limit = ENV['depp_records_on_page'] || 20
offset = ((params[:page].to_i - 1) * limit.to_i)
[limit, offset]
end
end