walter/test/dummy/app/controllers/application_controller.rb
2016-11-21 16:01:27 -05:00

9 lines
175 B
Ruby

class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
helper_method :current_user
def current_user
SecureRandom.uuid
end
end