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-12 23:09:03 +01:00
Code
Issues
Releases
Activity
ecd92e12c1
fab-manager
/
app
/
policies
/
price_policy.rb
10 lines
114 B
Ruby
Raw
Normal View
History
Unescape
Escape
release 2.0 rc
2016-03-23 18:39:41 +01:00
class
PricePolicy
<
ApplicationPolicy
def
index?
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