Sha256: 127b81bb298fd01a378dd08661eaa1683a9be2e551ab646e04c012fd0f3d4c8f

Contents?: true

Size: 1.69 KB

Versions: 23

Compression:

Stored size: 1.69 KB

Contents

PubnubLivestream::Application.routes.draw do

  root 'streamer#index'

  get 'get_messages' => 'streamer#get_messages'
  get 'publish' => 'streamer#publish'

  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"
  # root 'welcome#index'

  # Example of regular route:
  #   get 'products/:id' => 'catalog#view'

  # Example of named route that can be invoked with purchase_url(id: product.id)
  #   get 'products/:id/purchase' => 'catalog#purchase', as: :purchase

  # Example resource route (maps HTTP verbs to controller actions automatically):
  #   resources :products

  # Example resource route with options:
  #   resources :products do
  #     member do
  #       get 'short'
  #       post 'toggle'
  #     end
  #
  #     collection do
  #       get 'sold'
  #     end
  #   end

  # Example resource route with sub-resources:
  #   resources :products do
  #     resources :comments, :sales
  #     resource :seller
  #   end

  # Example resource route with more complex sub-resources:
  #   resources :products do
  #     resources :comments
  #     resources :sales do
  #       get 'recent', on: :collection
  #     end
  #   end
  
  # Example resource route with concerns:
  #   concern :toggleable do
  #     post 'toggle'
  #   end
  #   resources :posts, concerns: :toggleable
  #   resources :photos, concerns: :toggleable

  # Example resource route within a namespace:
  #   namespace :admin do
  #     # Directs /admin/products/* to Admin::ProductsController
  #     # (app/controllers/admin/products_controller.rb)
  #     resources :products
  #   end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
pubnub-3.7.12 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.11 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.10 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.9 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.7 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.5 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.1 examples/pubnub_livestream/config/routes.rb
pubnub-3.7.0 examples/pubnub_livestream/config/routes.rb
pubnub-3.6.10 examples/pubnub_livestream/config/routes.rb
pubnub-3.6.9 examples/pubnub_livestream/config/routes.rb
pubnub-3.6.7 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.14 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.12 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.8 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.7 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.6 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.5 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.3 examples/pubnub_livestream/config/routes.rb
pubnub-ruby-3.4.1 examples/pubnub_livestream/config/routes.rb
pubnub-3.5.1 examples/pubnub_livestream/config/routes.rb