Class: Locomotive::Public::PagesController

Inherits:
ApplicationController
  • Object
show all
Includes:
ActionController::LocaleHelpers, Render, Routing::SiteDispatcher
Defined in:
app/controllers/locomotive/public/pages_controller.rb

Instance Method Summary collapse

Methods included from ActionController::LocaleHelpers

#back_to_default_site_locale, #current_content_locale, #localized?, #set_back_office_locale, #set_current_content_locale, #setup_i18n_fallbacks

Instance Method Details

#editObject



29
30
31
32
# File 'app/controllers/locomotive/public/pages_controller.rb', line 29

def edit
  @editing = true
  render_locomotive_page
end

#showObject



25
26
27
# File 'app/controllers/locomotive/public/pages_controller.rb', line 25

def show
  render_locomotive_page
end

#show_toolbarObject



21
22
23
# File 'app/controllers/locomotive/public/pages_controller.rb', line 21

def show_toolbar
  render :layout => false
end