Sha256: 7625e3e87d3ded0a51424ca9a7d24dcebb7857b218a570cd8d21ab905f2f72f7

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

HelpCenter::Engine.routes.draw do
  scope module: :help_center do
    resources :support_threads, path: :threads do
      collection do
        get :answered
        get :unanswered
        get :mine
        get :participating
        get "category/:id", to: "support_categories#index", as: :support_category
      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

4 entries across 4 versions & 1 rubygems

Version Path
help_center-0.0.4 config/routes.rb
help_center-0.0.3 config/routes.rb
help_center-0.0.2 config/routes.rb
help_center-0.0.1 config/routes.rb