mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
Add missing ? to create? method name.
This commit is contained in:
parent
826d3cd4b7
commit
dc2ae51b07
@ -8,7 +8,7 @@ class TrainingPolicy < ApplicationPolicy
|
||||
end
|
||||
end
|
||||
|
||||
def create
|
||||
def create?
|
||||
user.admin?
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user