Sha256: dfa668a3bdc99059f13811adbad4f50562b3b7eea8d4211e99b8f460c96ea261
Contents?: true
Size: 535 Bytes
Versions: 46
Compression:
Stored size: 535 Bytes
Contents
Rails.application.routes.draw do # # Active Admin & Devise # if (ActiveAdmin rescue nil) ActiveAdmin.routes(self) if (AdminUser rescue nil) devise_for :admin_users, ActiveAdmin::Devise.config end end # # Other # get '/lalala/markdown/cheatsheet', to: 'lalala/markdown#cheatsheet' # # Errors # if (ErrorsController rescue nil) match '/404', to: 'errors#not_found' match '/422', to: 'errors#unprocessable_entity' match '/500', to: 'errors#internal_server_error' end end
Version data entries
46 entries across 46 versions & 1 rubygems