Sha256: 7887592b17fff8aee533fd4740fea15bab3877b48e2404fcbe7f5d727f892e90

Contents?: true

Size: 825 Bytes

Versions: 20

Compression:

Stored size: 825 Bytes

Contents

Rails.application.routes.default_url_options[:host] = 'localhost:3000'
Rails.application.routes.draw do

  resources :worms
  resources :tests
  resources :topics
  
  
  get 'get_activities' , :action => "get_activities", :controller => "activity"

  get 'send_notification', :action => "send_notification", :controller => "home", :as => "send_notification"

  

  root "home#index"
  
  mount_routes Auth.configuration.auth_resources
    

  ##PAYUMONEY CALLBACK ROUTE
  post 'shopping/payments/:id', to: 'shopping/payments#update', as: "payumoney_payment_gateway_callback_path"  

  post 'sms_webhook', to: 'webhooks#sms_webhook'

  post 'email_webhook', to: 'webhooks#email_webhook'

  ##app-specific routes 
  namespace :api do 

    namespace :v1 do 

      post "user_info" => 'token_auth#index'

    end

  end

 
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
wordjelly-auth-1.2.2 spec/dummy/config/routes.rb
wordjelly-auth-1.2.1 spec/dummy/config/routes.rb
wordjelly-auth-1.2.0 spec/dummy/config/routes.rb
wordjelly-auth-1.1.9 spec/dummy/config/routes.rb
wordjelly-auth-1.1.8 spec/dummy/config/routes.rb
wordjelly-auth-1.1.7 spec/dummy/config/routes.rb
wordjelly-auth-1.1.6 spec/dummy/config/routes.rb
wordjelly-auth-1.1.5 spec/dummy/config/routes.rb
wordjelly-auth-1.1.4 spec/dummy/config/routes.rb
wordjelly-auth-1.1.3 spec/dummy/config/routes.rb
wordjelly-auth-1.1.2 spec/dummy/config/routes.rb
wordjelly-auth-1.1.1 spec/dummy/config/routes.rb
wordjelly-auth-1.1.0 spec/dummy/config/routes.rb
wordjelly-auth-1.0.9 spec/dummy/config/routes.rb
wordjelly-auth-1.0.8 spec/dummy/config/routes.rb
wordjelly-auth-1.0.5 spec/dummy/config/routes.rb
wordjelly-auth-1.0.4 spec/dummy/config/routes.rb
wordjelly-auth-1.0.3 spec/dummy/config/routes.rb
wordjelly-auth-1.0.2 spec/dummy/config/routes.rb
wordjelly-auth-0.0.8 spec/dummy/config/routes.rb