Sha256: 46f432006c6568f2ba9314e1098d51c6c2f105fed20153e61a668f3c66a2569b

Contents?: true

Size: 163 Bytes

Versions: 53

Compression:

Stored size: 163 Bytes

Contents

class ApplicationController < ActionController::Base

  if defined? Devise
    before_filter do
      RequestStore[:current_user] = current_user
    end
  end

end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
express_admin-1.7.7 config/initializers/request_store_current_user.rb
express_admin-1.7.5 config/initializers/request_store_current_user.rb
express_admin-1.7.4 config/initializers/request_store_current_user.rb
express_admin-1.7.3 config/initializers/request_store_current_user.rb
express_admin-1.7.2 config/initializers/request_store_current_user.rb
express_admin-1.7.1 config/initializers/request_store_current_user.rb
express_admin-1.6.13 config/initializers/request_store_current_user.rb
express_admin-1.6.12 config/initializers/request_store_current_user.rb
express_admin-1.6.11 config/initializers/request_store_current_user.rb
express_admin-1.6.10 config/initializers/request_store_current_user.rb
express_admin-1.6.9 config/initializers/request_store_current_user.rb
express_admin-1.6.8 config/initializers/request_store_current_user.rb
express_admin-1.6.7 config/initializers/request_store_current_user.rb
express_admin-1.6.4 config/initializers/request_store_current_user.rb
express_admin-1.6.3 config/initializers/request_store_current_user.rb
express_admin-1.6.2 config/initializers/request_store_current_user.rb
express_admin-1.6.1 config/initializers/request_store_current_user.rb
express_admin-1.6.0 config/initializers/request_store_current_user.rb
express_admin-1.5.0 config/initializers/request_store_current_user.rb
express_admin-1.4.11 config/initializers/request_store_current_user.rb