Fix #495
This commit is contained in:
@@ -6,6 +6,11 @@ module Precious
|
|||||||
|
|
||||||
attr_reader :page, :content
|
attr_reader :page, :content
|
||||||
|
|
||||||
|
# return path set in app.rb not @page.path
|
||||||
|
def path
|
||||||
|
@path
|
||||||
|
end
|
||||||
|
|
||||||
def title
|
def title
|
||||||
"#{@page.title}"
|
"#{@page.title}"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user