Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
DebugExceptions `File.join` => `File.expand_path` #8529
and 2 others
commented on an outdated diff
Dec 16, 2012
|@@ -7,7 +7,7 @@ module ActionDispatch|
|# This middleware is responsible for logging exceptions and|
|# showing a debugging page in case the request is local.|
|- RESCUES_TEMPLATE_PATH = File.join(File.dirname(__FILE__), 'templates')|
|+ RESCUES_TEMPLATE_PATH = File.extend_path('../templates' __FILE__)|