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