Class: LB::Project::Page

Inherits:
View
  • Object
show all
Defined in:
lib/lb/project/page.rb

Overview

Page view

Instance Method Summary collapse

Methods inherited from View

setup, #with

Instance Method Details

#titleObject



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