mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
use new ruby syntax for install generator
Rubocop was showing a warning to use the new ruby syntax
This commit is contained in:
parent
381a39e492
commit
7cee0f01a6
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class ApplicationPolicy
|
|||
end
|
||||
|
||||
def show?
|
||||
scope.where(:id => record.id).exists?
|
||||
scope.where(id: record.id).exists?
|
||||
end
|
||||
|
||||
def create?
|
||||
|
|
Loading…
Add table
Reference in a new issue