mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:16:23 +00:00
fix: poder ver el estado
This commit is contained in:
parent
736f0552f7
commit
95231511b7
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ class SitePolicy
|
|||
true
|
||||
end
|
||||
|
||||
def status?
|
||||
true
|
||||
end
|
||||
|
||||
# Puede ver la versión privada del sitio?
|
||||
def private?
|
||||
edit? && site.deploys.find_by_type('DeployPrivate')
|
||||
|
|
Loading…
Reference in a new issue