Sha256: 296759e19e6292c8658ab83f15309406e599a7d384abc10e82a5dc652306157f
Contents?: true
Size: 389 Bytes
Versions: 48
Compression:
Stored size: 389 Bytes
Contents
module Fiona7 class DefaultScrivitoCmsController < ActionController::Base include Scrivito::ControllerActions before_filter :assert_legacy_mode def index return redirect_to cms_path(@obj.fiona_obj) end protected def assert_legacy_mode raise "This controller should not be invoked outside legacy mode" unless Fiona7.mode == :legacy end end end
Version data entries
48 entries across 48 versions & 1 rubygems