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.26 config/initializers/request_store_current_user.rb
express_admin-1.7.25 config/initializers/request_store_current_user.rb
express_admin-1.7.24 config/initializers/request_store_current_user.rb
express_admin-1.7.23 config/initializers/request_store_current_user.rb
express_admin-1.7.22 config/initializers/request_store_current_user.rb
express_admin-1.7.21 config/initializers/request_store_current_user.rb
express_admin-1.7.20 config/initializers/request_store_current_user.rb
express_admin-1.7.19 config/initializers/request_store_current_user.rb
express_admin-1.7.18 config/initializers/request_store_current_user.rb
express_admin-1.7.17 config/initializers/request_store_current_user.rb
express_admin-1.7.16 config/initializers/request_store_current_user.rb
express_admin-1.7.16.pre1 config/initializers/request_store_current_user.rb
express_admin-1.7.15 config/initializers/request_store_current_user.rb
express_admin-1.7.14 config/initializers/request_store_current_user.rb
express_admin-1.7.13 config/initializers/request_store_current_user.rb
express_admin-1.7.12 config/initializers/request_store_current_user.rb
express_admin-1.7.11 config/initializers/request_store_current_user.rb
express_admin-1.7.10 config/initializers/request_store_current_user.rb
express_admin-1.7.9 config/initializers/request_store_current_user.rb
express_admin-1.7.8 config/initializers/request_store_current_user.rb