Sha256: 071ad31398277e4a0805bf4dd97e88e4ee5a6a2df331e2db79617606728bf140

Contents?: true

Size: 185 Bytes

Versions: 7

Compression:

Stored size: 185 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery

  def current_user
    mock = Object.new
    def mock.login
      'matz'
    end
    return mock
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_exception_handler-1.2.1 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.2.0 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.1.2 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.1.1 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.1.0 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.0.1 spec/testapp_30/app/controllers/application_controller.rb
rails_exception_handler-1.0.0 spec/testapp_30/app/controllers/application_controller.rb