Skip to content

Instantly share code, notes, and snippets.

@neilmiddleton
Created February 14, 2013 15:55
Show Gist options
  • Save neilmiddleton/4953712 to your computer and use it in GitHub Desktop.
Save neilmiddleton/4953712 to your computer and use it in GitHub Desktop.
wicked routes
resources :messages, :except => [:index] do
collection do
get :create_new, controller: 'messages/build', action: :create
end
resources :build, controller: 'messages/build'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment