Sha256: 03f824ed807f260886e6c6803b5d27c47144d356380fc9a5f0a41e951b9dd12c

Contents?: true

Size: 558 Bytes

Versions: 15

Compression:

Stored size: 558 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
        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

15 entries across 15 versions & 1 rubygems

Version Path
jera_push-1.2.4 config/routes.rb
jera_push-1.2.3 config/routes.rb
jera_push-1.2.1 config/routes.rb
jera_push-1.1.7 config/routes.rb
jera_push-1.1.6 config/routes.rb
jera_push-1.1.5 config/routes.rb
jera_push-1.1.4 config/routes.rb
jera_push-1.1.3 config/routes.rb
jera_push-1.1.2 config/routes.rb
jera_push-1.1.1 config/routes.rb
jera_push-1.1.0 config/routes.rb
jera_push-1.0.3 config/routes.rb
jera_push-1.0.2 config/routes.rb
jera_push-1.0.1.1 config/routes.rb
jera_push-1.0.1 config/routes.rb