1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Merge pull request #380 from koni84/patch-1

use new ruby syntax for install generator
This commit is contained in:
Jonas Nicklas 2016-04-21 20:07:32 +02:00
commit 146d7cbe76

View file

@ -11,7 +11,7 @@ class ApplicationPolicy
end
def show?
scope.where(:id => record.id).exists?
scope.where(id: record.id).exists?
end
def create?