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

Version Path
lalala-4.1.0.dev.425 config/routes.rb
lalala-4.1.0.dev.420 config/routes.rb
lalala-4.1.0.dev.419 config/routes.rb
lalala-4.1.0.dev.418 config/routes.rb
lalala-4.1.0.dev.417 config/routes.rb
lalala-4.1.0.dev.415 config/routes.rb
lalala-4.1.0.dev.414 config/routes.rb
lalala-4.1.0.dev.413 config/routes.rb
lalala-4.1.0.dev.412 config/routes.rb
lalala-4.1.0.dev.411 config/routes.rb
lalala-4.1.0.dev.410 config/routes.rb
lalala-4.1.0.dev.409 config/routes.rb
lalala-4.1.0.dev.408 config/routes.rb
lalala-4.1.0.dev.398 config/routes.rb
lalala-4.1.0.dev.397 config/routes.rb
lalala-4.1.0.dev.394 config/routes.rb
lalala-4.1.0.dev.392 config/routes.rb
lalala-4.1.0.dev.391 config/routes.rb
lalala-4.1.0.dev.390 config/routes.rb
lalala-4.1.0.dev.389 config/routes.rb