Sha256: 9ebd2c27f8c4d61dddc33bccebd8356bd64b8b87394cf4ac5d0af77ec9ebdc22

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

# -*- encoding : utf-8 -*-
RademadeAdmin::Engine.routes.draw do

  mount Ckeditor::Engine => '/ckeditor'

  root 'dashboard#index'

  match 'file-upload' => 'file#upload', :via => [:post, :patch]
  match 'file-crop' => 'file#crop', :via => [:post, :patch]

  post 'sessions' => 'sessions#login'
  get 'login' => 'dashboard#login', :as => 'login'

  resources :sessions do
    get 'logout', :on => :collection
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rademade_admin-0.1.3 config/routes.rb
rademade_admin-0.1.2 config/routes.rb
rademade_admin-0.1.1 config/routes.rb