Page MenuHomeGRNET

application_controller.rb
No OneTemporary

File Metadata

Created
Sun, Jan 18, 4:05 PM

application_controller.rb

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