Commit 07d86c8896ca43a2d1d95af85f611a1711015993
Committed by
Paulo Meireles
1 parent
f5e56342
Exists in
staging
and in
42 other branches
[Mezuro] fixed wrong spelled function in controller
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
plugins/mezuro/controllers/mezuro_plugin_profile_controller.rb
| ... | ... | @@ -17,9 +17,9 @@ class MezuroPluginProfileController < ProfileController |
| 17 | 17 | |
| 18 | 18 | def project_result |
| 19 | 19 | |
| 20 | - content = profile.articles.find(params[:id]) | |
| 21 | - date = params[:date] | |
| 22 | - project_result = date.nil? ? content.project_result : content.get_date_project_result(date) | |
| 20 | + content = profile.articles.find(params[:id]) | |
| 21 | + date = params[:date] | |
| 22 | + project_result = date.nil? ? content.project_result : content.get_date_result(date) | |
| 23 | 23 | project = content.project |
| 24 | 24 | render :partial => 'content_viewer/project_result', :locals => { :project_result => project_result} |
| 25 | 25 | end | ... | ... |