test login fix

This commit is contained in:
2015-03-01 20:50:16 +01:00
parent 1d5a319d4e
commit 17810c0bb5
2 changed files with 4 additions and 2 deletions
@@ -1,7 +1,8 @@
module Admin
class EmployeesController < Admin::ApplicationController
before_filter :set_relation_options, only: [:new, :edit, :create, :update]
skip_before_filter :authenticate_administrator!, only: :test_login
skip_before_filter :setup_administrator!, only: :test_login
skip_authorize_resource only: :test_login
skip_before_filter :set_locale, only: :test_login
# GET /employees
# GET /employees.json
+2 -1
View File
@@ -1,6 +1,7 @@
module Admin
class UsersController < Admin::ApplicationController
skip_before_filter :authenticate_administrator!, only: :test_login
skip_before_filter :setup_administrator!, only: :test_login
skip_authorize_resource only: :test_login
skip_before_filter :set_locale, only: :test_login
# GET /users
# GET /users.json