Commit a77f9dcc authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Add content routes

Signed-off-by: Diego de Araújo Martinez Camarinha's avatarDiego Araújo <diegoamc@protonmail.ch>
parent af7ab095
Rails.application.routes.draw do
resources :contents
scope '(:locale)', locale: /en|pt-BR/ do
devise_for :users
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
resources :profiles, except: [:index]
resources :contents
get 'states' => 'profiles#states', as: 'states'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment