engine/app/controllers/pages_controller.rb

13 lines
214 B
Ruby

class PagesController < ActionController::Base
include Locomotive::Routing::SiteDispatcher
include Locomotive::Render
before_filter :require_site
def show
render_locomotive_page
end
end