Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80611499
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
Sun, Sep 1, 16:09
Size
222 B
Mime Type
text/x-c++
Expires
Tue, Sep 3, 16:09 (2 d)
Engine
blob
Format
Raw Data
Handle
20370585
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