Commit 32778454c6c7ed69b2a5c33be08c5c7aec8febf2
Committed by
Rafael Manzo
1 parent
7ac100fd
Exists in
colab
and in
4 other branches
Issue #47 The remaining configuration variables on repository_controller renamed…
…. No tests needed to be fixed Signed-off-by: Larissa Rodrigues Gomes<larissax55@gmail.com> Signed-off-by: Vincius Franco<viniciusf.arantes@gmail.com>
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
app/controllers/repositories_controller.rb
| ... | ... | @@ -11,7 +11,7 @@ class RepositoriesController < ApplicationController |
| 11 | 11 | # GET /projects/1/repositories/1/modules/1 |
| 12 | 12 | # GET /projects/1/repositories/1/modules/1.json |
| 13 | 13 | def show |
| 14 | - set_configuration | |
| 14 | + set_mezuro_configuration | |
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | # GET projects/1/repositories/new |
| ... | ... | @@ -89,7 +89,7 @@ class RepositoriesController < ApplicationController |
| 89 | 89 | # GET /projects/1/repositories/1/process |
| 90 | 90 | def process_repository |
| 91 | 91 | @repository.process |
| 92 | - set_configuration | |
| 92 | + set_mezuro_configuration | |
| 93 | 93 | respond_to do |format| |
| 94 | 94 | format.html { redirect_to project_repository_path(@repository.project_id, @repository.id) } |
| 95 | 95 | end |
| ... | ... | @@ -110,8 +110,8 @@ private |
| 110 | 110 | @repository = Repository.find(params[:id].to_i) |
| 111 | 111 | end |
| 112 | 112 | |
| 113 | - def set_configuration | |
| 114 | - @configuration = MezuroConfiguration.find(@repository.configuration_id) | |
| 113 | + def set_mezuro_configuration | |
| 114 | + @mezuro_configuration = MezuroConfiguration.find(@repository.configuration_id) | |
| 115 | 115 | end |
| 116 | 116 | |
| 117 | 117 | # Never trust parameters from the scary internet, only allow the white list through. | ... | ... |
app/views/repositories/show.html.erb