Sha256: 4b0a84ef2189954e11573fc8b7d9d99d4c1f135165398d3f9b327352d95e4650

Contents?: true

Size: 924 Bytes

Versions: 24

Compression:

Stored size: 924 Bytes

Contents

Rails.application.routes.draw do
  namespace :dynamic_fieldsets do
    resources :fieldset_associators

    resources :fieldsets
    match "/fieldsets/roots" => "fieldsets#roots"
    match "/fieldsets/:id/children" => "fieldsets#children", :as => :children_dynamic_fieldsets_fieldset
    match "/fieldsets/:id/children/reorder" => "fieldsets#reorder"
    match "/fieldsets/new(/:parent)" => "fieldsets#new", :as => :new_dynamic_fieldsets_fieldset
    match "fieldsets/:id/associate_child" => "fieldsets#associate_child", :as => :associate_child_to_fieldset

    resources :fields
    match "/fields/new(/:parent)" => "fields#new", :as => :new_dynamic_fieldsets_field
    match "/fields/:id/enable" => "fields#enable", :as => "enable_field", :method => :post

    resources :fieldset_children
    match "/fieldset_children/:id/remove" => "fieldset_children#remove", :as => :remove_fieldset_child, :method => :post
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dynamic_fieldsets-0.1.10 config/routes.rb
dynamic_fieldsets-0.1.9 config/routes.rb
dynamic_fieldsets-0.1.8 config/routes.rb
dynamic_fieldsets-0.1.7 config/routes.rb
dynamic_fieldsets-0.1.6 config/routes.rb
dynamic_fieldsets-0.1.5 config/routes.rb
dynamic_fieldsets-0.1.4 config/routes.rb
dynamic_fieldsets-0.1.3 config/routes.rb
dynamic_fieldsets-0.1.2 config/routes.rb
dynamic_fieldsets-0.1.1 config/routes.rb
dynamic_fieldsets-0.1.0 config/routes.rb
dynamic_fieldsets-0.0.16 config/routes.rb
dynamic_fieldsets-0.0.15 config/routes.rb
dynamic_fieldsets-0.0.14 config/routes.rb
dynamic_fieldsets-0.0.13 config/routes.rb
dynamic_fieldsets-0.0.12 config/routes.rb
dynamic_fieldsets-0.0.11 config/routes.rb
dynamic_fieldsets-0.0.10 config/routes.rb
dynamic_fieldsets-0.0.9 config/routes.rb
dynamic_fieldsets-0.0.8 config/routes.rb