Sha256: 4d4e20f250483f8e2cc4eb56869e43ecba7190c8108770d132cf9f014ef20204

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

Rails.application.routes.draw do
  namespace :admin do
    resources :feedback_reviews
    resources :reviews do
      member do
        get :approve
      end
      resources :feedback_reviews
    end
    resource :review_settings
  end

  resources :products do
    resources :reviews do
      collection do
        get :terms
        get "submissionguidelines"
      end
    end
  end
  match "/reviews/:review_id/feedback(.:format)" => "feedback_reviews#create", :via => :post, :as => "feedback_review"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_reviews-0.50.1 config/routes.rb
spree_reviews-0.50.0 config/routes.rb
spree_reviews-0.30.0 config/routes.rb