Class: LB::Project::Page
- Inherits:
-
View
- Object
- Dry::View::Controller
- View
- LB::Project::Page
show all
- Defined in:
- lib/lb/project/page.rb
Overview
Instance Attribute Summary
Attributes inherited from View
#site
Instance Method Summary
collapse
Methods inherited from View
#render, #render_with, setup, #view, #with, #with_context
Instance Method Details
#title ⇒ Object
9
10
11
12
13
14
15
16
|
# File 'lib/lb/project/page.rb', line 9
def title
t = LB::Project.t.page
self.class.page_key.split('/').each do |key|
t = t.send(key)
end
t.title
end
|