Commit c53b889646e280ec0b21240698cb5b8ff33d8380

Authored by Antonio Terceiro
Committed by Paulo Meireles
1 parent 324090c8

Renaming project to project_content

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
... ...