This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
fab-manager
Watch
1
Star
0
Fork
0
You've already forked fab-manager
mirror of
https://github.com/LaCasemate/fab-manager.git
synced
2024-12-10 21:24:20 +01:00
Code
Issues
Releases
Activity
3e4892d3a5
fab-manager
/
app
/
policies
/
custom_asset_policy.rb
12 lines
123 B
Ruby
Raw
Normal View
History
Unescape
Escape
release 2.0 rc
2016-03-23 18:39:41 +01:00
class
CustomAssetPolicy
<
ApplicationPolicy
def
create?
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
user
.
admin?
release 2.0 rc
2016-03-23 18:39:41 +01:00
end
def
update?
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
user
.
admin?
release 2.0 rc
2016-03-23 18:39:41 +01:00
end
end
Reference in New Issue
Copy Permalink