mezuro_plugin_profile_controller.rb
382 Bytes
class MezuroPluginProfileController < ProfileController
append_view_path File.join(File.dirname(__FILE__) + '/../views')
def metrics
project_content = profile.articles.find(params[:id])
module_name = params[:module_name]
render :partial => 'content_viewer/module_result',
:locals => { :module_result => project_content.module_result(module_name)}
end
end