add changes
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class PagesController < ApplicationController
|
||||
include Cmtool::Includes::PagesController
|
||||
end
|
||||
@@ -1,5 +1,8 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
devise_for :users, :controllers => {:sessions => 'cmtool/sessions', :passwords => 'cmtool/passwords'}
|
||||
match "/:name" => "pages#show"
|
||||
match "/*url" => "pages#not_found"
|
||||
root :to => 'pages#home'
|
||||
mount Cmtool::Engine => "/cmtool"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user