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:
commit
146d7cbe76
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class ApplicationPolicy
|
||||||
end
|
end
|
||||||
|
|
||||||
def show?
|
def show?
|
||||||
scope.where(:id => record.id).exists?
|
scope.where(id: record.id).exists?
|
||||||
end
|
end
|
||||||
|
|
||||||
def create?
|
def create?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue