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
27d71dcffd
fab-manager
/
app
/
policies
/
version_policy.rb
6 lines
78 B
Ruby
Raw
Normal View
History
Unescape
Escape
[feature] display fab-manager's version, when logged as admin
2016-09-22 16:46:14 +02:00
class
VersionPolicy
<
ApplicationPolicy
def
show?
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
user
.
admin?
[feature] display fab-manager's version, when logged as admin
2016-09-22 16:46:14 +02:00
end
end
Reference in New Issue
Copy Permalink