do not notify for missing documents, i do not care
parent
a4b05f7825
commit
c5519699af
|
@ -5,7 +5,7 @@ class Exceptions < Application
|
|||
def not_found
|
||||
@page_title = 'Error 404'
|
||||
@secondary_title = 'Document Not Found'
|
||||
render_and_notify :format => :html
|
||||
render
|
||||
end
|
||||
|
||||
# handle NotAcceptable exceptions (406)
|
||||
|
@ -14,4 +14,4 @@ class Exceptions < Application
|
|||
@secondary_title = 'Application Exception'
|
||||
render_and_notify :format => :html
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Reference in New Issue