Merge branch 'master' into 'master'

Fix bug.

See merge request spen/seminar!22
This commit is contained in:
chiu 2021-10-26 14:11:22 +00:00
commit 5db5ced533
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<% begin %> <% begin %>
<table class="table table-hover table-striped seminar-index"> <table class="table table-hover table-striped seminar-index">
<caption> <caption>
<% 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 %>
<h3><%= page.name rescue t('seminar.seminar') %></h3> <h3><%= page.name rescue t('seminar.seminar') %></h3>
</caption> </caption>
<thead> <thead>