Canvas LMS/Troubleshooting
From r00tedvw.com wiki
(Difference between revisions)
(6 intermediate revisions by one user not shown) | |||
Line 7: | Line 7: | ||
83: -%> | 83: -%> | ||
84: <a href="/assignments" class="menu-item-title"><%= t('menu.assignments', 'Assignments') %><sp an class="menu-item- | 84: <a href="/assignments" class="menu-item-title"><%= t('menu.assignments', 'Assignments') %><sp an class="menu-item- | ||
− | title-icon"></span> <i | + | title-icon"></span> < i class="icon-mini-arrow-down"></i></a> |
85: <div class="menu-item-drop"> | 85: <div class="menu-item-drop"> | ||
+ | |||
<br> | <br> | ||
<br> | <br> | ||
Line 18: | Line 19: | ||
#:assignments_needing_submitting => t('menu.assignments_needing_submitting', "To Turn In"), | #:assignments_needing_submitting => t('menu.assignments_needing_submitting', "To Turn In"), | ||
#:assignments_needing_grading => t('menu.assignments_needing_grading', "To Grade"), | #:assignments_needing_grading => t('menu.assignments_needing_grading', "To Grade"), | ||
− | #:assignments_recently_graded => t('menu.assignments_recently_graded', "Recently Graded") | + | #:assignments_recently_graded => t('menu.assignments_recently_graded', "Recently Graded"), |
Latest revision as of 20:39, 19 March 2014
Issue: When trying to log in with admin account, an error occurs citing "Oops! something broke". When checking the logs, this is found:
ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #82 of app/views/layouts/application.html.erb: 79: :assignments_recently_graded => t('menu.assignments_recently_graded', "Recently Graded") 80: } 81: total_shown = 0 82: if assignment_sets.any?{ |k, v| @current_user.send(k).length > 0 } 83: -%> 84: <a href="/assignments" class="menu-item-title"><%= t('menu.assignments', 'Assignments') %><sp an class="menu-item- title-icon"></span> < i class="icon-mini-arrow-down"></i></a>85: