Update archive_files_controller.rb
This commit is contained in:
parent
fe3e9c25b1
commit
0948362b09
|
@ -1,4 +1,8 @@
|
|||
class Admin::ArchiveFilesController < OrbitAdminController
|
||||
def show
|
||||
module_pages = Page.where(:module => archive).collect{|p| [p.name,p.url] }
|
||||
puts module_pages
|
||||
end
|
||||
def index
|
||||
if ArchiveSortOrder.count == 0
|
||||
ArchiveSortOrder.new('sort_order' => false).save
|
||||
|
|
Loading…
Reference in New Issue