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-02 13:24:20 +01:00
Code
Issues
Releases
Activity
6cd91d0291
fab-manager
/
app
/
policies
/
theme_policy.rb
14 lines
145 B
Ruby
Raw
Normal View
History
Unescape
Escape
init depot fabmanager
2015-05-05 03:10:25 +02:00
class
ThemePolicy
<
ApplicationPolicy
def
create?
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
user
.
admin?
init depot fabmanager
2015-05-05 03:10:25 +02:00
end
def
update?
create?
end
def
destroy?
create?
end
end
Reference in New Issue
Copy Permalink