Skip to content

Commit

Permalink
make View as a obsolete module.
Browse files Browse the repository at this point in the history
Signed-off-by: Daogang Tang <daogangtang@126.com>
  • Loading branch information
Daogang Tang committed Oct 29, 2014
1 parent 45bc5f8 commit 1c005d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ local View = Object:extend {
if not name then return '' end

-- call this to calc languageEnv to i18n.
i18n.langcode(req)
if req then i18n.langcode(req) end

if bamboo.config.PRODUCTION then
-- if cached
Expand Down

0 comments on commit 1c005d7

Please sign in to comment.