Fixed about page by adding static pages controller

This commit is contained in:
Ben Ramey
2014-05-24 17:28:44 -05:00
parent a1b02d229b
commit 8cd7a9a97c
5 changed files with 38 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ module.exports.policies = {
'*': false,
StaticPagesController: {
'*': true
},
RunController: {
'*': false,
'find': true,

View File

@@ -36,7 +36,8 @@ module.exports.routes = {
view: 'home/index'
},
'/about': {
view: 'about'
controller: 'staticPagesController',
action: 'about'
},
/*