Sha256: 46086b7d424ab0e81c6467fcf61062478223d4b84ba02faa6f0c5890e36b7fda

Contents?: true

Size: 899 Bytes

Versions: 11

Compression:

Stored size: 899 Bytes

Contents

Rails.application.routes.draw do
  namespace :refine do
    resource :blueprint, only: [:show, :new, :create] do
      get "stored_filters", on: :collection
      get "validate", on: :collection
    end
    resources :stored_filters, only: [:index, :new, :create] do
      post "find", on: :collection
    end
    namespace :inline do
      resources :criteria, except: [:show] do
        post "merge_groups", on: :collection
        post "clear", on: :collection
      end
      resources :stored_filters, only: [:index, :new, :create] do
        post "find", on: :collection
      end
    end
    namespace :advanced_inline do
      resources :criteria, except: [:show] do
        post "merge_groups", on: :collection
        post "clear", on: :collection
      end
      resources :stored_filters, only: [:index, :new, :create] do
        post "find", on: :collection
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refine-rails-2.13.3 config/routes.rb
refine-rails-2.13.2 config/routes.rb
refine-rails-2.13.1 config/routes.rb
refine-rails-2.13.0 config/routes.rb
refine-rails-2.12.2 config/routes.rb
refine-rails-2.12.1 config/routes.rb
refine-rails-2.12.0 config/routes.rb
refine-rails-2.11.12 config/routes.rb
refine-rails-2.11.11 config/routes.rb
refine-rails-2.11.10 config/routes.rb
refine-rails-2.11.9 config/routes.rb