Project

General

Profile

Patch #15390 ยป redmine-subdirectory-route.patch

Yehuda Katz, 2013-11-19 04:37

View differences:

config/routes.rb (working copy)
15 15
# along with this program; if not, write to the Free Software
16 16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 17

  
18
# Uncomment and change the line below to set the relative url root
19
# Redmine::Utils::relative_url_root = "/redmine"
20

  
18 21
RedmineApp::Application.routes.draw do
22
scope ActionController::Base.relative_url_root do
19 23
  root :to => 'welcome#index', :as => 'home'
20 24

  
21 25
  match 'login', :to => 'account#login', :as => 'signin', :via => [:get, :post]
......
353 357
    end
354 358
  end
355 359
end
360
end
    (1-1/1)