Sha256: 5689da1cb41ee94908737bbebdc492a18dfbae0c3b2845e74f53afb37c7917b2

Contents?: true

Size: 460 Bytes

Versions: 141

Compression:

Stored size: 460 Bytes

Contents

Rails.application.routes.draw do

  if (ActiveAdmin rescue nil)
    ActiveAdmin.routes(self)
    if (AdminUser rescue nil)
      devise_for :admin_users, ActiveAdmin::Devise.config
    end
  end

  get  '/lalala/markdown/cheatsheet', to: 'lalala/markdown#cheatsheet'

  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

141 entries across 141 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.416 config/routes.rb
lalala-4.0.0.dev.407 config/routes.rb
lalala-4.0.0.dev.396 config/routes.rb
lalala-4.0.0.dev.395 config/routes.rb
lalala-4.0.0.dev.393 config/routes.rb
lalala-4.0.0.dev.388 config/routes.rb
lalala-4.0.0.dev.385 config/routes.rb
lalala-4.0.0.dev.382 config/routes.rb
lalala-4.0.0.dev.374 config/routes.rb
lalala-4.0.0.dev.372 config/routes.rb
lalala-4.0.0.dev.368 config/routes.rb
lalala-4.0.0.dev.366 config/routes.rb
lalala-4.0.0.dev.357 config/routes.rb
lalala-4.0.0.dev.354 config/routes.rb
lalala-4.0.0.dev.351 config/routes.rb
lalala-4.0.0.dev.350 config/routes.rb
lalala-4.0.0.dev.349 config/routes.rb
lalala-4.0.0.dev.344 config/routes.rb
lalala-4.0.0.dev.343 config/routes.rb
lalala-4.0.0.dev.339 config/routes.rb