Permalink
Find file Copy path
f218214 Oct 1, 2018
2 contributors

Users who have contributed to this file

@MicFin @InPen
13 lines (10 sloc) 309 Bytes
# frozen_string_literal: true
Rails.application.routes.draw do
# RESTful routes
resources :examples, except: %i[new edit]
# Custom routes
post '/sign-up' => 'users#signup'
post '/sign-in' => 'users#signin'
delete '/sign-out' => 'users#signout'
patch '/change-password' => 'users#changepw'
end