From dcaa9f0ef13d04d0cb8011cc7474c2511727d41e Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 12 Nov 2020 21:28:01 +0800 Subject: [PATCH] Fix authorized problem. --- .../venue_management_bills/_index.html.erb | 6 +++-- .../_index.html.erb | 6 +++-- .../_index.html.erb | 6 +++-- .../_index.html.erb | 10 +++++---- lib/venue_management/engine.rb | 22 +++++++++---------- 5 files changed, 29 insertions(+), 21 deletions(-) diff --git a/app/views/admin/venue_management_bills/_index.html.erb b/app/views/admin/venue_management_bills/_index.html.erb index 413fe9a..29c8f67 100644 --- a/app/views/admin/venue_management_bills/_index.html.erb +++ b/app/views/admin/venue_management_bills/_index.html.erb @@ -27,7 +27,7 @@ <%= link_to contractors, (@venue_management_page_url.blank? ? "#" : "/#{I18n.locale}"+@venue_management_page_url+"/#{contractors.to_s.strip}-#{bill.id}?method=show_bill"), :target => '_self' %>
diff --git a/app/views/admin/venue_management_contracts/_index.html.erb b/app/views/admin/venue_management_contracts/_index.html.erb index ba0344e..8ac832c 100644 --- a/app/views/admin/venue_management_contracts/_index.html.erb +++ b/app/views/admin/venue_management_contracts/_index.html.erb @@ -24,7 +24,7 @@
diff --git a/app/views/admin/venue_management_invitings/_index.html.erb b/app/views/admin/venue_management_invitings/_index.html.erb index ef64aa2..0a49825 100644 --- a/app/views/admin/venue_management_invitings/_index.html.erb +++ b/app/views/admin/venue_management_invitings/_index.html.erb @@ -23,7 +23,7 @@
diff --git a/app/views/admin/venue_management_memorabilias/_index.html.erb b/app/views/admin/venue_management_memorabilias/_index.html.erb index 777497d..8ab23a4 100644 --- a/app/views/admin/venue_management_memorabilias/_index.html.erb +++ b/app/views/admin/venue_management_memorabilias/_index.html.erb @@ -22,7 +22,7 @@ <%= link_to (memorabilia.case_no.blank? ? t("empty") : @venue_management_page_url.blank? ? "" : memorabilia.case_no), ("/#{I18n.locale}"+@venue_management_page_url+"/#{memorabilia.case_no.to_s.strip}-#{memorabilia.id}?method=show_memorabilia") , :target => '_blank' %>