Sha256: 5eb2c4ff0756e28ee0a419fc00bf8ab898a17cfafc4405d5751ba77233c88916

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 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
  #resources :reviews
  
  match "/reviews/:review_id/feedback(.:format)" => "feedback_reviews#create", :via => :post, :as => "feedback_review"
  match "/reviews/all_list", :to => "reviews#all_list", :as => :all_reviews
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_reviews_rating-0.70.7.1 config/routes.rb
spree_reviews_rating-0.70.7 config/routes.rb
spree_reviews_rating-0.70.6.1 config/routes.rb
spree_reviews_rating-0.70.6 config/routes.rb