Sha256: 3b3140aa845ec8bc2977fe16af6088e96de046b2feb0008652bf38f43706eda3
Contents?: true
Size: 222 Bytes
Versions: 1
Compression:
Stored size: 222 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery def current_user mock = Object.new def mock.login 'matz' end return mock end def nil_user return nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_exception_handler-1.3.0 | spec/testapp_30/app/controllers/application_controller.rb |