mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
修复http.group被修改为小写的情况
This commit is contained in:
parent
e41a5aaa1a
commit
ecba6bf7d7
@ -26,7 +26,7 @@ module.exports = Behavior(function(){
|
||||
var path = templateFile.split(':');
|
||||
var action = path.pop();
|
||||
var controller = path.pop() || this.http.controller.toLowerCase();
|
||||
var group = ucfirst(path.pop()) || this.http.group;
|
||||
var group = ucfirst(path.pop() || this.http.group);
|
||||
templateFile = [
|
||||
VIEW_PATH, '/', group, '/',
|
||||
controller,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user