about summary refs log tree commit diff stats
path: root/test/dummy/app/controllers/application_controller.rb
blob: 95f36f8b9689f16b39fa6dc3e5e805b5f8f10f29 (plain) (blame)
1
2
3
4
5
6
7
8
9
class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  protected

    def authenticate_pokeviewer(login, token)
      login == "testuser" and token == "testpass"
    end
end