Rails.application.routes.draw do
  scope "(:locale)", locale: /en|uk/ do
    mount Ckeditor::Engine => '/ckeditor'
	  root 'home#index'
	  ActiveAdmin.routes(self)
    # patch '/projects/warm', to: 'admin/projects#sort'
    resources :users
    resources :projects, only: [:show]
  end
  devise_for :users, controllers: {omniauth_callbacks: "users/omniauth_callbacks",
	  								  						registrations: "users"}
end
