Sha256: a4458f4087ecf00aab0646d8d9d027a301b78a49eb1a8daba2e0e2d029a25077

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

Satis::Engine.routes.draw do
  resources :user_data, only: %i[show update]
  resources :dialogs, only: %[show], constraints: { id: /[A-Za-z0-9\_\-\/]+/ }
  resources :attachments, only: [:index, :create, :destroy]

  unless Rails.env.production?
    namespace :documentation do
      resources :avatars
      resources :cards
      resources :editors
      resources :forms do
        get "select", on: :collection
      end
      resources :tabs
    end
    resources :documentation
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
satis-2.1.48 config/routes.rb
satis-2.1.47 config/routes.rb