Sha256: 4434cac6f2c7d5f39f33a7731aa4d380c2052e04fa1e340326c639cbb9ad02a9

Contents?: true

Size: 826 Bytes

Versions: 35

Compression:

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

35 entries across 35 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 spec/dummy/config/routes.rb
wordjelly-auth-1.5.9 spec/dummy/config/routes.rb
wordjelly-auth-1.5.8 spec/dummy/config/routes.rb
wordjelly-auth-1.5.7 spec/dummy/config/routes.rb
wordjelly-auth-1.5.6 spec/dummy/config/routes.rb
wordjelly-auth-1.5.5 spec/dummy/config/routes.rb
wordjelly-auth-1.5.4 spec/dummy/config/routes.rb
wordjelly-auth-1.5.3 spec/dummy/config/routes.rb
wordjelly-auth-1.5.2 spec/dummy/config/routes.rb
wordjelly-auth-1.5.1 spec/dummy/config/routes.rb
wordjelly-auth-1.5.0 spec/dummy/config/routes.rb
wordjelly-auth-1.4.9 spec/dummy/config/routes.rb
wordjelly-auth-1.4.8 spec/dummy/config/routes.rb
wordjelly-auth-1.4.7 spec/dummy/config/routes.rb
wordjelly-auth-1.4.6 spec/dummy/config/routes.rb
wordjelly-auth-1.4.5 spec/dummy/config/routes.rb
wordjelly-auth-1.4.4 spec/dummy/config/routes.rb
wordjelly-auth-1.4.3 spec/dummy/config/routes.rb
wordjelly-auth-1.4.2 spec/dummy/config/routes.rb
wordjelly-auth-1.4.0 spec/dummy/config/routes.rb