Commit c53b889646e280ec0b21240698cb5b8ff33d8380
Committed by
Paulo Meireles
1 parent
324090c8
Exists in
master
and in
29 other branches
Renaming project to project_content
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb
1 | 1 | class MezuroPluginProfileController < ProfileController |
2 | 2 | |
3 | 3 | def metrics |
4 | - project = profile.articles.find(params[:id]) | |
4 | + project_content = profile.articles.find(params[:id]) | |
5 | 5 | module_name = params[:module_name] |
6 | - render :partial => 'content_viewer/module_result', :locals => { :module_result => project.module_result(module_name) } | |
6 | + render :partial => 'content_viewer/module_result', :locals => { :module_result => project_content.module_result(module_name) } | |
7 | 7 | end |
8 | 8 | |
9 | 9 | end | ... | ... |