Add a wiki page for the Dashboard
This commit is contained in:
parent
cef951e421
commit
0de7fc0da5
2 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ class Page < ActiveRecord::Base
|
|||
permalink == "Home"
|
||||
end
|
||||
|
||||
def self.dashboard
|
||||
where(permalink: "Dashboard").first
|
||||
end
|
||||
|
||||
def self.public_front_page
|
||||
where(permalink: "Public_frontpage").first
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue