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.15.31 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.30 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.29 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.28 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.27 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.26 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.25 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.24 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.23 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.22 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.21 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.20 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.19 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.18 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.17 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.16 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.15 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.14 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.13 app/controllers/pulitzer/application_controller.rb
pulitzer-0.15.12 app/controllers/pulitzer/application_controller.rb