Looking for changes on website content https://projet-alice-demo.herokuapp.com/diffs/
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.

13 lines
451B

  1. Rails.application.routes.draw do
  2. resources :diffs, only: %i[index show]
  3. resources :sites, only: %i[index show new create edit update destroy]
  4. resources :config, only: %i[index]
  5. resources :groups, only: %i[new create edit update destroy]
  6. resources :templates, only: %i[new create edit update destroy]
  7. # resources :access, only: %i[new create]
  8. get '/login', to: 'site#login'
  9. post '/login', to: 'site#auth'
  10. get '/logout', to: 'site#logout'
  11. end