Skip to content

Commit

Permalink
use correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 12, 2019
1 parent 4dc185f commit 499c2a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/concerns/paginatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def page_from_params(params)
p = params.to_unsafe_h.dig(:page)

if p.is_a?(Hash)
page = page.symbolize_keys
page = p.symbolize_keys
else
page = {}
end
Expand Down
1 change: 0 additions & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class Doi < ActiveRecord::Base

attribute :regenerate, :boolean, default: false
attribute :only_validate, :boolean, default: false
attribute :exists, :boolean, default: false
attribute :should_validate, :boolean, default: false

belongs_to :client, foreign_key: :datacentre
Expand Down

0 comments on commit 499c2a5

Please sign in to comment.