Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
沈志敏
2016-07-18 18:17:15 +0800
Commit
a7a0dbbeb9c1ea6517254e38b731669ed06f6422
1 parent
7cab9a61
no message
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
apps/home/controllers/index.js
apps/home/views/action/index.hbs
apps/home/controllers/index.js
0 → 100644
View file @
a7a0dbb
/**
* 主页
* @author: Bi Kai<kai.bi@yoho.cn>
* @date: 2016/05/09
*/
'use strict'
;
const
_
=
require
(
'lodash'
);
const
helpers
=
global
.
yoho
.
helpers
;
/**
* 频道选择页
*/
const
component
=
{
index
:
(
req
,
res
,
next
)
=>
{
res
.
render
(
'index'
,
{
module
:
'example'
,
page
:
'home'
});
}
};
module
.
exports
=
component
;
...
...
apps/home/views/action/index.hbs
0 → 100644
View file @
a7a0dbb
<h1>
test
</h1>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment