Sha256: 476e762a0e2a17904a6ed974a2f196647a9d8f3ba912b39fe545645042aa7c49

Contents?: true

Size: 221 Bytes

Versions: 11

Compression:

Stored size: 221 Bytes

Contents

class AuthenticatedController < ApplicationController
  if respond_to?(:before_filter)
    class << self
      alias :before_action :before_filter
    end
  end

  before_action :authenticate_user!

  def index
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed_benchmarks-1.3.1 test/rails_app/app/controllers/authenticated_controller.rb
rails_serve_static_assets-0.0.5 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.3.0 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.1.3 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.1.2 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.1.1 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.1.0 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.0.1 test/rails_app/app/controllers/authenticated_controller.rb
derailed_benchmarks-1.0.0 test/rails_app/app/controllers/authenticated_controller.rb
rails_serve_static_assets-0.0.4 test/rails_app/app/controllers/authenticated_controller.rb
rails_serve_static_assets-0.0.3 test/rails_app/app/controllers/authenticated_controller.rb