Sha256: ecc8522f1a9d2ed8a2d8fdc7de716b0c64e884a6d44e03de8cf928b3dfd612e0
Contents?: true
Size: 572 Bytes
Versions: 9
Compression:
Stored size: 572 Bytes
Contents
Rails.application.routes.draw do # We are adding full resources for bird and declaring which controller to use resources :contents#, :controller => 'baby_dove/birds' # If you had nests and wanted to nest your nests you would do: # resources :birds, :controller => 'baby_dove/birds' do # resources :nests, :controller => 'baby_dove/nests' # end # It's that simple. Run rake routes from your 'main app' and you will see # the routes from the engine listed after any routes you define in the main # app. # root :to => "baby_dove/birds#index" end
Version data entries
9 entries across 9 versions & 1 rubygems