Sha256: c4dc29adab547a07b9705e8524f6066305e8f77c37b21363cc1835674ad0eb36

Contents?: true

Size: 598 Bytes

Versions: 4

Compression:

Stored size: 598 Bytes

Contents

Rails.application.routes.draw do
  namespace :jera_push do
    namespace :admin do

      get '/', to: 'devices#index'

      resources :messages, only: [:index, :show, :new, :create] do
        collection do
          get :device_filter, format: :js
        end
        member do
          get :message_devices_filter, format: :js
          get :resend_push, format: :js
        end
      end
      resources :devices, only: [:index]
    end

    namespace :v1 do
      resources :devices, only: [:create] do
        collection do
          delete :destroy
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jera_push-2.1.4 config/routes.rb
jera_push-2.1.3 config/routes.rb
jera_push-2.1.2 config/routes.rb
jera_push-2.0.0 config/routes.rb