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-01 12:24:28 +01:00
Code
Issues
Releases
Activity
510533e080
fab-manager
/
app
/
policies
/
reservation_policy.rb
6 lines
107 B
Ruby
Raw
Normal View
History
Unescape
Escape
release 2.0 rc
2016-03-23 18:39:41 +01:00
class
ReservationPolicy
<
ApplicationPolicy
def
update?
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
user
.
admin?
or
record
.
user
==
user
release 2.0 rc
2016-03-23 18:39:41 +01:00
end
end
Reference in New Issue
Copy Permalink