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

Version Path
infopark_fiona7-1.2.0.0.0 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.9 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.8 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.7 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.6 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.5 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.4 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.3 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.2 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.10 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.1 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-1.1.0.0.0 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.9 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.8 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.7 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.6 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.5 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.4 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.3 app/controllers/fiona7/default_scrivito_cms_controller.rb
infopark_fiona7-0.71.1.2 app/controllers/fiona7/default_scrivito_cms_controller.rb