diff --git a/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb b/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb index 216624f..015a6e1 100644 --- a/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb +++ b/plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb @@ -1,9 +1,9 @@ class MezuroPluginProfileController < ProfileController def metrics - project = profile.articles.find(params[:id]) + project_content = profile.articles.find(params[:id]) module_name = params[:module_name] - render :partial => 'content_viewer/module_result', :locals => { :module_result => project.module_result(module_name) } + render :partial => 'content_viewer/module_result', :locals => { :module_result => project_content.module_result(module_name) } end end -- libgit2 0.21.2