fixes crash when selected "history" in preview of page being created
- history button is hidden in newly created page preview as it makes no sense - redirect to '/' if page does not exist yet
This commit is contained in:
@@ -43,6 +43,10 @@ module Precious
|
||||
@editable
|
||||
end
|
||||
|
||||
def page_exists
|
||||
@page_exists
|
||||
end
|
||||
|
||||
def allow_uploads
|
||||
@allow_uploads
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user