Admin interface #6

Merged
ignisf merged 23 commits from admin-interface into master 2014-10-06 12:33:26 +03:00
4 changed files with 16 additions and 0 deletions
Showing only changes of commit e05234ecb3 - Show all commits

View File

@ -0,0 +1,6 @@
module Management
class HomeController < ManagementController
def index
end
end
end

View File

@ -0,0 +1,5 @@
module Management
class ManagementController < ::ApplicationController
layout 'management'
end
end

View File

@ -0,0 +1 @@
p Hello

View File

@ -4,6 +4,10 @@ Rails.application.routes.draw do
devise_for :users, controllers: {registrations: 'registrations', sessions: 'sessions'}
scope :management, module: :management do
get '/', to: 'home#index'
end
root 'home#index'
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".