Update archive_files_controller.rb
This commit is contained in:
parent
ce16c481fe
commit
74301f69a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue