Update archive_files_controller.rb

This commit is contained in:
chiu committed 2019-09-16 20:17:58 +08:00
1 parent 0948362b09
commit ce16c481fe
1 file changed
+1 -1
@@ -1,6 +1,6 @@
class Admin::ArchiveFilesController < OrbitAdminController
def show
module_pages = Page.where(:module => archive).collect{|p| [p.name,p.url] }
module_pages = Page.where(:module => 'archive').collect{|p| [p.name,p.url] }
puts module_pages
end
def index