1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #8472 from schneems/schneems/expand_path

Use `File.expand_path` instead of `File.join`
This commit is contained in:
Rafael Mendonça França 2012-12-09 19:05:00 -08:00
commit 05e6123653

View file

@ -1,7 +1,7 @@
require 'action_dispatch/routing/inspector'
class Rails::InfoController < ActionController::Base
self.view_paths = File.join(File.dirname(__FILE__), 'templates')
self.view_paths = File.expand_path('../templates', __FILE__)
layout 'application'
before_filter :require_local!