You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
343 B

Rails.application.routes.draw do
devise_for :users
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Defines the root path route ("/")
#root "articles#index"
root "welcome#index"
#root "articles#index"
resources :articles do
member do
post 'upvote'
end
end
end