Sha256: a0b4c3295d8adb774cb6f7ef74efedccca86b152ca71dcd66f58222ed2b951d2
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module JcCms class ApplicationController < ActionController::Base protect_from_forgery layout :layout_by_resource protected def layout_by_resource if devise_controller? && resource_name == :cms_user "jc_cms" else "application" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jc_cms-0.0.2 | app/controllers/jc_cms/application_controller.rb |
jc_cms-0.0.1 | app/controllers/jc_cms/application_controller.rb |