diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-01-30 18:36:49 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-06 23:51:19 +0300 |
commit | c500e958fbdff0643865134b35f879b06b2347ac (patch) | |
tree | 4477465457144683d9381a7bfbb807f01651397b /app/controllers/projects/variables_controller.rb | |
parent | 2824c1d8d7247f6d0bbb1d5fe703490fdbd4ed1a (diff) |
Added redirections to the index actions for the variables and triggers controllers
Diffstat (limited to 'app/controllers/projects/variables_controller.rb')
-rw-r--r-- | app/controllers/projects/variables_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects/variables_controller.rb b/app/controllers/projects/variables_controller.rb index dd5f6a771d2..574f6549645 100644 --- a/app/controllers/projects/variables_controller.rb +++ b/app/controllers/projects/variables_controller.rb @@ -3,6 +3,10 @@ class Projects::VariablesController < Projects::ApplicationController layout 'project_settings' + def index + redirect_to namespace_project_settings_ci_cd_path(@project.namespace, @project) + end + def show @variable = @project.variables.find(params[:id]) end |