Sha256: 9adb65a4f80deffbffb7d8af78096fa36ff686a9accf94a4874f069d51d54162

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

class Ecm::Cms::PageController < ApplicationController
  # inject locale to params and vice versa
  include RailsTools::I18nController
  
  # add the page resolver
  include Ecm::Cms::ControllerExtensions::PageResolver

  def respond
    render :template => params[:page]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_cms-0.0.6.pre app/controllers/ecm/cms/page_controller.rb