Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html root :to => "static#index" get 'admin', to: "static#index" get 'asociados', to: "static#index" get 'solicitudes', to: "static#index" get 'admin/asociados', to: "static#index" get 'admin/solicitudes', to: "static#index" get 'categoria', to: "categoria#index" get 'status', to: "status#index" get 'contacto_de_preferencia', to: "contacto_de_preferencia#index" post 'api/notification', to: "notification#create" resources :asociado, :solicitud end