Skip to content

Instantly share code, notes, and snippets.

@cherring
Created July 2, 2010 04:47
Show Gist options
  • Save cherring/460944 to your computer and use it in GitHub Desktop.
Save cherring/460944 to your computer and use it in GitHub Desktop.
map.resources :"foo-bar", :controller => "foo_bar", :only => [:new, :create, :index]
@davemcp
Copy link

davemcp commented Jul 2, 2010

map.resources "foobar", :controller => "foo_bar", :only => [:new, :create, :index]

that works but, obviously wrong...

@davemcp
Copy link

davemcp commented Jul 2, 2010

In trace:
def hash_for_foo-bar_index_path(option...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment