Class: Landable::NullPageDecorator
Instance Method Summary
collapse
#head_content, #page_name
Constructor Details
Returns a new instance of NullPageDecorator.
3
4
|
# File 'app/decorators/landable/null_page_decorator.rb', line 3
def initialize
end
|
Instance Method Details
#body ⇒ Object
22
23
24
|
# File 'app/decorators/landable/null_page_decorator.rb', line 22
def body
''
end
|
14
15
16
|
# File 'app/decorators/landable/null_page_decorator.rb', line 14
def meta_tags
''
end
|
#path ⇒ Object
18
19
20
|
# File 'app/decorators/landable/null_page_decorator.rb', line 18
def path
''
end
|
#title ⇒ Object
6
7
8
9
10
11
12
|
# File 'app/decorators/landable/null_page_decorator.rb', line 6
def title
content_tag('title', 'No current page; default title')
end
|