Skip to content

Instantly share code, notes, and snippets.

@MittalPatel-BTC
Created April 19, 2020 16:29
Show Gist options
  • Save MittalPatel-BTC/2134f344887e81349fbdb318299e4fc0 to your computer and use it in GitHub Desktop.
Save MittalPatel-BTC/2134f344887e81349fbdb318299e4fc0 to your computer and use it in GitHub Desktop.
You can also define the routes without CRUD action using namespace as well.
namespace :users do
get 'charge'
get 'refund'
get 'bill'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment