Fixed about page by adding static pages controller
This commit is contained in:
@@ -16,6 +16,10 @@ module.exports.policies = {
|
||||
|
||||
'*': false,
|
||||
|
||||
StaticPagesController: {
|
||||
'*': true
|
||||
},
|
||||
|
||||
RunController: {
|
||||
'*': false,
|
||||
'find': true,
|
||||
|
||||
@@ -36,7 +36,8 @@ module.exports.routes = {
|
||||
view: 'home/index'
|
||||
},
|
||||
'/about': {
|
||||
view: 'about'
|
||||
controller: 'staticPagesController',
|
||||
action: 'about'
|
||||
},
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user