Authenticate each request via session
This commit is contained in:
parent
c82a5897d7
commit
cb47e6bb73
3 changed files with 15 additions and 1 deletions
3
app/models/current.rb
Normal file
3
app/models/current.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Current < ActiveSupport::CurrentAttributes
|
||||
attribute :user
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue