diff --git a/app/controllers/admin/archive_files_controller.rb b/app/controllers/admin/archive_files_controller.rb index 4e5fdcb..5993cf7 100644 --- a/app/controllers/admin/archive_files_controller.rb +++ b/app/controllers/admin/archive_files_controller.rb @@ -1,7 +1,7 @@ class Admin::ArchiveFilesController < OrbitAdminController def show module_pages = Page.where(:module => 'archive').collect{|p| [p.name,p.url] } - puts module_pages + redirect_to '/' + I18n.locale.to_s + module_pages end def index if ArchiveSortOrder.count == 0