Sha256: a8b45b70e8baa46bdaf468a32f5602553f752f4a8112665bc0dc897ad165377e

Contents?: true

Size: 523 Bytes

Versions: 5

Compression:

Stored size: 523 Bytes

Contents

HelpCenter::Engine.routes.draw do
  scope module: :help_center do
    resources :support_categories, path: :categories
    resources :support_threads, path: :articles do
      collection do
        get :answered
        get :unanswered
        get :mine
        get :participating
      end

      resources :support_posts, path: :posts do
        member do
          put :solved
          put :unsolved
        end
      end

      resource :notifications
    end
  end

  root to: "help_center/support_threads#index"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
help_center-0.1.0 config/routes.rb
help_center-0.0.9 config/routes.rb
help_center-0.0.8 config/routes.rb
help_center-0.0.7 config/routes.rb
help_center-0.0.6 config/routes.rb