rest - Grouping Restful Routes in Rails -



rest - Grouping Restful Routes in Rails -

simply put, there way can grouping restful routes avoid repetition? app expands find myself listing routes follows:

resources :users resources :articles resources :categories ...

what i'd grouping these resources on 1 line. ideas?

why not seperate them using comma this:

resources :users, :articles, :categories

ruby-on-rails rest routes

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -