Sha256: 1258d1d200b2ac865f167f912887cf5f6a00569cf4e81d8491b619f864131107
Contents?: true
Size: 666 Bytes
Versions: 8
Compression:
Stored size: 666 Bytes
Contents
# Routes Routes are separated by `frontend`, `backend` or `auth` namespaces. Each section should be separated for functional clarity. ## Backend Routes For Backend routes, open `config/routes.rb` and add the following ``` Archangel::Engine.routes.draw do namespace :backend, path: Archangel.config.backend_path do # GET /backend/foos # POST /backend/foos # GET /backend/foos/new # GET /backend/foos/[ID]/edit # GET /backend/foos/[ID] # PATCH /backend/foos/[ID] # PUT /backend/foos/[ID] # DELETE /backend/foos/[ID] resources :foos do # GET /backend/foos/custom get :custom end end end ```
Version data entries
8 entries across 8 versions & 1 rubygems