Sha256: 61bfd51d1bfb129515d967ad471fe8bca7d7406713db0213969f6b92a5d04945

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

# Routes
ActionController::Routing::Routes.draw do |map|
  # Since I started using recipe -> ingredient before working on path stuff, there is no turning back
  # so even if the nestedness does not make sense, I have to use it
  map.resources :recipes, :controller => 'default' do |recipe|
    recipe.resources :ingredients, :controller => 'default' do |ingredient|
      ingredient.resources :comments, :controller => 'default'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pickle-dupe-0.3.1 features/app/routes.rb
pickle-dupe-0.3.0 features/app/routes.rb