From ce16c481fe132df7a3a0bdbb4dba3b4adbe98a07 Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 16 Sep 2019 20:17:58 +0800 Subject: [PATCH] Update archive_files_controller.rb --- app/controllers/admin/archive_files_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/archive_files_controller.rb b/app/controllers/admin/archive_files_controller.rb index daa532f..4e5fdcb 100644 --- a/app/controllers/admin/archive_files_controller.rb +++ b/app/controllers/admin/archive_files_controller.rb @@ -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