diff --git a/app/helpers/secondary_navigation_helper.rb b/app/helpers/secondary_navigation_helper.rb index b3c0c75bd..f41c78181 100644 --- a/app/helpers/secondary_navigation_helper.rb +++ b/app/helpers/secondary_navigation_helper.rb @@ -41,7 +41,7 @@ module SecondaryNavigationHelper end def is_module_results? - %w(index).include?(action_name) && controller_name == 'results' + (%w(index).include?(action_name) && controller_name == 'results') || action_name == 'results_show' end def is_module_activities? diff --git a/app/views/shareable_links/my_modules/_comments_list.html.erb b/app/views/shareable_links/my_modules/_comments_list.html.erb index a0088289a..2394c13f4 100644 --- a/app/views/shareable_links/my_modules/_comments_list.html.erb +++ b/app/views/shareable_links/my_modules/_comments_list.html.erb @@ -1,5 +1,5 @@ <% user= nil %> -<% oject.comments.order(created_at: :asc).each do |comment| %> +<% object.comments.order(created_at: :asc).each do |comment| %>