Fix new rubocop warnings
This commit is contained in:
parent
598e1c84fe
commit
f3219ada14
2 changed files with 2 additions and 0 deletions
|
@ -309,6 +309,7 @@ module ActionController
|
|||
@number = 1 unless @paginator.has_page_number? @number
|
||||
end
|
||||
attr_reader :paginator, :number
|
||||
|
||||
alias to_i number
|
||||
|
||||
# Compares two Page objects and returns true when they represent the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue