diff --git a/vendor/built_in_modules/gallery/app/controllers/panel/gallery/front_end/albums_controller.rb b/vendor/built_in_modules/gallery/app/controllers/panel/gallery/front_end/albums_controller.rb index b39c1fa5..51ba47cb 100644 --- a/vendor/built_in_modules/gallery/app/controllers/panel/gallery/front_end/albums_controller.rb +++ b/vendor/built_in_modules/gallery/app/controllers/panel/gallery/front_end/albums_controller.rb @@ -10,6 +10,7 @@ class Panel::Gallery::FrontEnd::AlbumsController < OrbitWidgetController @album.tag_ids.each do |tag| @tags << GalleryTag.find(tag)[I18n.locale] end + end def get_albums @@ -96,6 +97,7 @@ class Panel::Gallery::FrontEnd::AlbumsController < OrbitWidgetController tags.each do |tag| @tagnames << GalleryTag.find(tag)[I18n.locale] end + @back_link = panel_gallery_front_end_album_path(@albumid) end diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/index.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/index.html.erb index caeaf74a..7f7ce0ef 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/index.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/index.html.erb @@ -36,7 +36,7 @@ gallery.loadAlbums(gallery.urlVars['tag']); }else{ gallery.loadArea = "albums"; - g.loadAlbums("all"); + gallery.loadAlbums("all"); } diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/show.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/show.html.erb index c0d7fb1f..10520358 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/show.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/show.html.erb @@ -20,7 +20,7 @@