image manager optimization, i18n
This commit is contained in:
1 parent
ad295d97c8
commit
6a35f98f89
24 files changed
+4707
-9
No files matched your search
@@ -14,6 +14,12 @@ type Album struct {
|
||||
BaseController
|
||||
}
|
||||
|
||||
// 图片管理, iframe
|
||||
func (c Album) Index() revel.Result {
|
||||
c.SetLocale();
|
||||
return c.RenderTemplate("album/index.html")
|
||||
}
|
||||
|
||||
// all albums by userId
|
||||
func (c Album) GetAlbums() revel.Result {
|
||||
re := albumService.GetAlbums(c.GetUserId())
|
||||
|
||||
Reference in new issue
Block a user