diff options
author | Stan Hu <stanhu@gmail.com> | 2015-11-02 23:47:37 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-11-02 23:47:37 -0800 |
commit | aa27108e6bb7c3f9d0bfb891addb52680aa995e7 (patch) | |
tree | 82e1616119d0e1d29e0e50782012b4aa02251baa | |
parent | 5782217bfce973b0a654e32b6318cb82d0b4e066 (diff) | |
parent | 31723eb9f0f9490d873a6ecddc897fef3ea1885c (diff) | |
download | gitlab-ce-aa27108e6bb7c3f9d0bfb891addb52680aa995e7.tar.gz |
Merge pull request #9791 from konpyu/fix-deprecated
Fix deprecated `prepend_before_filter` -> `prepend_before_action`
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 05c7d3de8bc..00d13a83ce8 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -1,7 +1,7 @@ class ProjectsController < ApplicationController include ExtractsPath - prepend_before_filter :render_go_import, only: [:show] + prepend_before_action :render_go_import, only: [:show] skip_before_action :authenticate_user!, only: [:show, :activity] before_action :project, except: [:new, :create] before_action :repository, except: [:new, :create] |