Fix Naming/MemoizedInstanceVariableName lint (#389)
This commit is contained in:
parent
318f1b28d5
commit
3343998391
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ module Admin
|
|||
before_action :authorize_admin
|
||||
|
||||
def order
|
||||
@_order ||= Administrate::Order.new(params[:order] || "id", params[:direction] || "desc")
|
||||
@order ||= Administrate::Order.new(params[:order] || "id", params[:direction] || "desc")
|
||||
end
|
||||
|
||||
def valid_request_origin?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue