aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/routes.rake
Commit message (Collapse)AuthorAgeFilesLines
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies new string literal convention in railties/libXavier Noria2016-08-061-7/+7
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* register rake options to `OptionParser`yuuji.yaginuma2016-04-251-0/+3
| | | | | In order to prevent `OptionParser::ParseError` when specify the rake options to `routes` task.
* - Fixed and removed long arguments to rake routesVipul A M2016-02-121-3/+3
| | | | | | - Fixed related documentation and usage all around Fixes #23561
* use rails command in routes taskyuuji.yaginuma2016-02-031-3/+3
| | | | | For other task has become to use the rails command at doc and test, I think that routes task also it is better to use the rails command.
* Add spaces in the braces.Kasper Timm Hansen2016-02-011-1/+1
| | | | | | Solves personal insanity, since I was down in these files. (Please don't submit PRs like this.)
* Add options for rake routes taskVipul A M2016-02-021-2/+30
| | | | | | | | | | Add two options: `-c` and `-g`. `-g` option returns the urls name, verb and path fields that match the pattern. `-c` option returns the urls for specific controller. Fixes #18902, and Fixes #20420 [Anton Davydov & Vipul A M]
* split formatting concerns from RoutesInspectorYves Senn2013-01-051-2/+2
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* Rename RouteInspector to RoutesInspectorCarlos Antonio da Silva2012-07-081-1/+1
| | | | Follow the consistency defined in dbc43bc.
* move route_inspector to actionpack@schneems and @mattt2012-07-071-2/+2
| | | | this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties.
* Rename RouteInspect to RoutesInspector for consistencyJosé Valim2012-06-291-2/+2
|
* remove unused route reloading codeschneems2012-05-301-2/+0
| | | Since the environment is initialized each time rake is run, routes don't need to be re-loaded. https://github.com/rails/rails/pull/6461#r869953
* I suck, forgot to also change rake's task descriptionPiotr Sarnacki2011-11-251-1/+1
|
* Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-241-1/+1
|
* move route inspecting to an object so that we can more easily test itAaron Patterson2011-09-091-31/+3
|
* Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-3/+3
| | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
* Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-1/+9
| | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* Display custom asset routes in `rake routes`Peter Suschlik2011-05-051-1/+1
|
* Dont show the assets mount in rake routesDavid Heinemeier Hansson2011-05-041-1/+2
|
* Make rake routes gracefully handle routes with no nameSam Ruby2010-08-291-5/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Ensure we are not calling length on nil.José Valim2010-08-281-5/+4
|
* Read the route name directly from the route instead of looking it up in the ↵Andrew White2010-08-271-7/+1
| | | | | | named routes hash Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove rails info route from rake routes output [#5452 state:resolved]Andrew White2010-08-251-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Hide internal apps from rake routes [#5443 state:resolved]José Valim2010-08-241-1/+1
|
* Improve routes task code and print the application as :to => RackApp. [#5338 ↵José Valim2010-08-151-12/+24
| | | | state:resolved]
* make rake routes print the name of a Rack endpoint app [#5338 state:resolved]Mark Turner2010-08-151-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-1/+1
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Add some comments related to Hash method check.José Valim2010-05-161-0/+3
|
* Fix Hash#index deprecated warning in 1.9.x [#4600 state:resolved]Aleksandr Koss2010-05-161-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove references to ActionDispatch::Routing::Routes in favor of ↵Carl Lerche2010-02-241-2/+2
| | | | Rails.appication.routes.
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-211-2/+2
|
* Hide '/rails/info/properties' from 'rake routes' [#3793 state:resolved]Prem Sichanugrist2010-02-021-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure namespaced controllers in engines work.José Valim2010-01-241-0/+1
|
* Restore `rake routes` [#3402 state:resolved]Joshua Peek2009-10-241-6/+3
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+18