summaryrefslogtreecommitdiff
path: root/config/routes.rb
blob: 12bfe9317ae3386d2e7d9a42cb55639899c39783 (plain)
1
2
3
4
5
6
7
8
9
LeapWeb::Application.routes.draw do
  #
  # Please do not use root_path or root_url. Use home_path and home_url instead,
  # so that the path will be correctly prefixed with the locale.
  #
  root :to => "home#index"
  get '(:locale)' => 'home#index', :locale => MATCH_LOCALE, :as => 'home'

end