summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-04 14:18:20 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-09 17:31:40 -0400
commitc84f1240d4dd72b53361d3cc0bccf5c7d789c8ec (patch)
tree1196c0fbb63050f1d62b4fe0e9832af8d1cf13f9 /app
parentbd680999f9bf33ba6067a42749139c1d0b52014e (diff)
downloadgitlab-ce-c84f1240d4dd72b53361d3cc0bccf5c7d789c8ec.tar.gz
prepend_before_filter -> prepend_before_action
Diffstat (limited to 'app')
-rw-r--r--app/controllers/sessions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index cc9d30d64d5..e72b003f86f 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -1,5 +1,5 @@
class SessionsController < Devise::SessionsController
- prepend_before_filter :two_factor_enabled?, only: :create
+ prepend_before_action :two_factor_enabled?, only: :create
def new
redirect_path =