diff options
Diffstat (limited to 'test/dummy/app/controllers/application_controller.rb')
| -rw-r--r-- | test/dummy/app/controllers/application_controller.rb | 9 |
1 files changed, 0 insertions, 9 deletions
| diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb deleted file mode 100644 index 95f36f8..0000000 --- a/test/dummy/app/controllers/application_controller.rb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | class ApplicationController < ActionController::Base | ||
| 2 | protect_from_forgery with: :exception | ||
| 3 | |||
| 4 | protected | ||
| 5 | |||
| 6 | def authenticate_pokeviewer(login, token) | ||
| 7 | login == "testuser" and token == "testpass" | ||
| 8 | end | ||
| 9 | end | ||
