spec/support/templates/policies/application_policy.rb in activeadmin-1.0.0.pre4 vs spec/support/templates/policies/application_policy.rb in activeadmin-1.0.0.pre5
- old
+ new
@@ -9,10 +9,10 @@
def index?
true
end
def show?
- scope.where(:id => record.id).exists?
+ scope.where(id: record.id).exists?
end
def new?
create?
end
\ No newline at end of file