Class: Woo::StyleguideController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Woo::StyleguideController
- Includes:
- StyleguideHelper
- Defined in:
- app/controllers/woo/styleguide_controller.rb
Constant Summary
Constants included from StyleguideHelper
Woo::StyleguideHelper::BASE_PATH
Instance Method Summary collapse
-
#index ⇒ Object
expose(:navigation) { navigation_hash() }.
- #page ⇒ Object
Methods included from StyleguideHelper
#current_page, #folder_files, #folders_names, #load_notes, #navigation_hash, #page_hash, #render_haml_string, #ui_elements
Instance Method Details
#index ⇒ Object
expose(:navigation) { navigation_hash() }
8 9 10 |
# File 'app/controllers/woo/styleguide_controller.rb', line 8 def index @ui_elements = ui_elements end |
#page ⇒ Object
12 13 14 |
# File 'app/controllers/woo/styleguide_controller.rb', line 12 def page @page = current_page(params[:folder], params[:page]) end |