sebbacon/alaveteli — Issue #331: Hidden requests give user errors
Author: sebbacon
Created: 2012-01-10 12:47:46+00:00
State: open

Sample traceback:

A ActionView::TemplateError occurred in request#get_attachment:

undefined method `prominence' for nil:NilClass
On line #13 of app/views/request/hidden.rhtml

10: various reasons why we might have done this, sorry we can\'t be more specific here. Please contact us if you have any questions.') % [help_contact_path] %>
12:

13: <% if @info_request.prominence == 'requester_only' %>
14:

15: <%= _('If you are the requester, then you may sign in to view the request.') % [signin_url(:r => request.request_uri)] %>
16:

app/views/request/hidden.rhtml:13:in `_run_rhtml_app47views47request47hidden46rhtml'
app/controllers/request_controller.rb:605:in `authenticate_attachment'