undefined method `error' for nil:NilClass in rescue block for Notice
ActionView::Template::Error (undefined method `error' for nil:NilClass):
15: %td.nowrap.align_right.reflow
16: = spinner(notice, align: :middle)
17: - if notice.button_text
18: = link_to notice.button_text, noticable_url(notice), class: 'btn btn-sm btn-default'
19: = link_to(:hide.t, me_notice_path(notice),{remote: true, method: 'delete', onclick: show_spinner(notice), class: 'btn btn-sm btn-default'})
app/helpers/me/notices_helper.rb:13:in `rescue in noticable_url'
app/helpers/me/notices_helper.rb:11:in `noticable_url'
app/views/me/notices/_notice.html.haml:18:in `_app_views_me_notices__notice_html_haml__1588895708852393910_31989000'
app/views/me/home/index.html.haml:18:in `_app_views_me_home_index_html_haml__3700155202684938860_69885333386740'
app/controllers/common/application/before_filters.rb:6:in `render'