From ed0c4a5a2f0db4c12d66f2db3ff73dc298c75e3c Mon Sep 17 00:00:00 2001 From: Bohung Date: Tue, 26 Oct 2021 22:10:10 +0800 Subject: [PATCH] Fix bug. --- app/views/seminars/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/seminars/index.html.erb b/app/views/seminars/index.html.erb index 528cc0c..9b70e05 100644 --- a/app/views/seminars/index.html.erb +++ b/app/views/seminars/index.html.erb @@ -8,7 +8,7 @@ <% begin %>
- <% page = OrbitHelper.page rescue Page.where(:page_id => params[:page_id]).first %> + <% page = OrbitHelper.page rescue Page.where(:page_id => OrbitHelper.params[:page_id]).first %>

<%= page.name rescue t('seminar.seminar') %>