Created
October 9, 2016 12:50
-
-
Save sergio1990/b811efb0846c61429b0fbe7a1b1165b1 to your computer and use it in GitHub Desktop.
Map your entire Rails application inside given URL prefix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require ::File.expand_path('../config/environment', __FILE__) | |
map 'YOUR_PREFIX_HERE' do | |
run Rails.application | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment