Created
January 23, 2009 01:37
-
-
Save alexvollmer/50831 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match(%r[/v1/entities/(.+?)/(.+?)(?:\.(xml|html))?$]). | |
to(:controller => 'v1', :action => 'facets_for_entity', | |
:type => "[1]", :id => "[2]", :format => "[3]") | |
# calls to /v1/entities/foo/bar or /v1/entities/foo/bar.xml | |
# result in 500 error with the following message: | |
# Name Error 500: undefined local variable or method `path2' for Merb::Router:Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment