Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62478317
custom_public_exceptions.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 13, 11:59
Size
222 B
Mime Type
text/x-c++
Expires
Wed, May 15, 11:59 (2 d)
Engine
blob
Format
Raw Data
Handle
17619633
Attached To
R5853 genocrunch-2.1
custom_public_exceptions.rb
View Options
class
CustomPublicExceptions
<
ActionDispatch
::
PublicExceptions
def
call
(
env
)
status
=
env
[
"PATH_INFO"
][
1
.
.
-
1
]
if
status
==
"404"
Rails
.
application
.
routes
.
call
(
env
)
else
super
end
end
end
Event Timeline
Log In to Comment