Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: rails/rails
base: 0262a18c7b0a
Choose a base ref
head repository: rails/rails
compare: ae68fc3864e9
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Dec 12, 2012

  1. Output routes in :html format

    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.
    schneems committed Dec 12, 2012

Commits on Dec 13, 2012

  1. Merge pull request #8499 from schneems/schneems/html-route-inspector

    Output routes in :html format
    steveklabnik committed Dec 13, 2012