aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/info_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #8499 from schneems/schneems/html-route-inspector"Steve Klabnik2012-12-141-1/+1
| | | | | | | This reverts commit ae68fc3864e99ab43c18fd12577744e1583f6b64, reversing changes made to 0262a18c7b0ab6f60fee842b3007388f9ffeb0fa. See here: https://github.com/rails/rails/pull/8499#issuecomment-11356417
* Output routes in :html formatschneems2012-12-121-1/+1
| | | | | | By formatting routes for different media (txt/html) we can apply optimizations based on the format. We can include meta-data in the HTML to allow a rich experience while rendering and viewing the routes. This PR shows route helpers as they are used with the `_path` extension, it also has a javascript toggle on the top to switch to `_url`. This way the developer can see the exact named route helper they can use instead of having to modify a base. This is one example of an optimization that could be applied. Eventually we can link out to guides for the different columns to better explain what helper, HTTP Verb, Path, and Controller#action indicate. We could even add a route search box that could allow developers to input a given route and see all of the routes that match it. These are stand alone features and should be delivered separately.
* Use `File.expand_path` instead of `File.join`schneems2012-12-091-1/+1
| | | cc/ @carlosantoniodasilva
* 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.
* Remove RoutesInspector from railties, since it was moved to APCarlos Antonio da Silva2012-07-081-1/+0
| | | | | Changes introduced in 7404cda9f61e41d52ce244d60abbf598684a96c4. Fix railties build.
* move route_inspector to actionpack@schneems and @mattt2012-07-071-1/+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
|
* /rails/info/routes path shows routing informationschneems2012-05-241-7/+25
| | | | Will show similar contents to the output of `$ rake routes` in the browser in development. This speeds the time required to generate routes, since the application is already initialized.
* Moves local_request? to require.local?Santiago Pastorino2010-08-131-1/+1
| | | | [#5361 state:committed]
* Autoload Rails::InfoJoshua Peek2010-03-201-2/+0
|
* Require info controller from info routesJoshua Peek2010-03-201-0/+2
|
* Move railties/builtin into libJoshua Peek2010-03-201-0/+15