Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F2564787
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
Wed, Jun 10, 1:01 PM
Size
306 B
Mime Type
text/x-ruby
Expires
Fri, Jun 12, 1:01 PM (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
395538
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