Sha256: 99a5c0d141a744027fad202a969d9c9fafeaf82be16c984038a67e5986e9bc07

Contents?: true

Size: 635 Bytes

Versions: 5

Compression:

Stored size: 635 Bytes

Contents

begin
  parent_class = CmsController
  if !parent_class.include?(Scrivito::ControllerActions)
    parent_class = ActionController::Base
  end
rescue NameError
  begin
    parent_class = ApplicationController
  rescue NameError
    parent_class = ActionController::Base
  end
end

class Fiona7LoginPageController < parent_class
  if !self.include?(Scrivito::ControllerActions)
    layout "fiona7_login_page_layout"
    include Scrivito::ControllerActions
  end

  def index
    if request.referrer.present?
      session[:login_redirect] ||= request.referrer
    end
    super
  end

  def self.use_for_obj_dispatch?
    true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
infopark_fiona7-1.6.1.1.5 app/controllers/fiona7_login_page_controller.rb
infopark_fiona7-1.6.1.1.1 app/controllers/fiona7_login_page_controller.rb
infopark_fiona7-1.6.1.1.0 app/controllers/fiona7_login_page_controller.rb
infopark_fiona7-1.2.0.2.3 app/controllers/fiona7_login_page_controller.rb
infopark_fiona7-1.2.0.2.2 app/controllers/fiona7_login_page_controller.rb