Sha256: 7f86281b796d82bc80edc5c06e40b6795d8fb12e98eb758b344596a512af8be7

Contents?: true

Size: 182 Bytes

Versions: 10

Compression:

Stored size: 182 Bytes

Contents

class ApplicationController < ActionController::Base
  attr_accessor :current_user

  def current_user
    @current_user ||= User.find params[:user_id] if params[:user_id]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
acl9-3.0.0 test/dummy/app/controllers/application_controller.rb
acl9-2.1.2 test/dummy/app/controllers/application_controller.rb
acl9-2.1.1 test/dummy/app/controllers/application_controller.rb
acl9-2.1.0 test/dummy/app/controllers/application_controller.rb
acl9-2.0.0 test/dummy/app/controllers/application_controller.rb
acl9-1.3.0 test/dummy/app/controllers/application_controller.rb
acl9-1.2.1 test/dummy/app/controllers/application_controller.rb
acl9-1.2.0 test/dummy/app/controllers/application_controller.rb
acl9-1.1.0 test/dummy/app/controllers/application_controller.rb
acl9-1.0.0 test/dummy/app/controllers/application_controller.rb