Class: Cms::TagsController
- Inherits:
-
ContentBlockController
- Object
- ApplicationController
- ApplicationController
- BaseController
- ContentBlockController
- Cms::TagsController
- Defined in:
- app/controllers/cms/tags_controller.rb
Instance Method Summary collapse
Methods inherited from ContentBlockController
#bulk_update, #create, #destroy, #edit, #inline, #new, #new_button_path, #publish, #revert_to, #show_via_slug, #update, #version, #versions
Methods included from ContentRenderingSupport
#handle_access_denied_on_page, #handle_draft_not_found, #handle_not_found_on_page, #handle_server_error_on_page, #show_content_as_page
Methods inherited from BaseController
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/controllers/cms/tags_controller.rb', line 3 def index load_blocks respond_to do |format| format.html format.json { render :inline => @blocks.map { |e| e.name }.to_json } end end |
#show ⇒ Object
11 12 13 |
# File 'app/controllers/cms/tags_controller.rb', line 11 def show redirect_to end |