Sha256: c8fd635983daf4b8f822989b3dbf988e18d6f31776f684535f058bcae00c86c0

Contents?: true

Size: 304 Bytes

Versions: 112

Compression:

Stored size: 304 Bytes

Contents

class Pulitzer::ApplicationController < Pulitzer.base_controller
  helper Pulitzer::Engine.helpers
  layout Pulitzer.layout

private
  def authenticate_user!
    unless Pulitzer.skip_authentication? || instance_eval(&Pulitzer.authentication_closure)
      redirect_to main_app.root_url
    end
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
pulitzer-0.5.6 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.5 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.4 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.3 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.2 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.1 app/controllers/pulitzer/application_controller.rb
pulitzer-0.5.0 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.16 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.15 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.14 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.13 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.12 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.11 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.10 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.9 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.8 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.7 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.6 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.5 app/controllers/pulitzer/application_controller.rb
pulitzer-0.4.4 app/controllers/pulitzer/application_controller.rb