Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1431266
application_controller.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 18, 4:05 PM
Size
306 B
Mime Type
text/x-ruby
Expires
Tue, Jan 20, 4:05 PM (1 d, 6 m)
Engine
blob
Format
Raw Data
Handle
325743
Attached To
rARCHIVING archiving
application_controller.rb
View Options
class
ApplicationController
<
ActionController
::
Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery
with
:
:exception
helper_method
:current_user
protected
def
current_user
@current_user
||=
User
.
last
end
end
Event Timeline
Log In to Comment