1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

Merge pull request #212 from jshprentz/issue-211

Add missing ? to create? method name.
This commit is contained in:
Sylvain 2020-05-18 09:24:16 +02:00 committed by GitHub
commit 1c24effa88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ class TrainingPolicy < ApplicationPolicy
end
end
def create
def create?
user.admin?
end