Class: PagesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- PagesController
- Defined in:
- lib/rails/generators/dev_page_install/templates/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#about ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/rails/generators/dev_page_install/templates/pages_controller.rb', line 16 def about @title = "About Thrasys" @page_part = PagePart.new @page_part_title = 'about' @page_parts = PagePart.where(:page_title=>'about').order('sort_order') end |
#fooabr ⇒ Object
3 4 5 6 |
# File 'lib/rails/generators/dev_page_install/templates/pages_controller.rb', line 3 def fooabr @title = "fooabr" @page_parts = PagePart.where(:title => @title) end |
#solutions ⇒ Object
12 13 14 15 |
# File 'lib/rails/generators/dev_page_install/templates/pages_controller.rb', line 12 def solutions @title = "Solutions" @solutions = Solution.all end |
#technology ⇒ Object
8 9 10 11 |
# File 'lib/rails/generators/dev_page_install/templates/pages_controller.rb', line 8 def technology @title = "Technology" @technologies = Technology.all end |