diff --git a/app/controllers/actives_controller.rb b/app/controllers/actives_controller.rb index edd21ea..3b42c19 100644 --- a/app/controllers/actives_controller.rb +++ b/app/controllers/actives_controller.rb @@ -1,5 +1,7 @@ class ActivesController < ApplicationController + FrontendMethods = ["show_privacy", "show_data"] + helper MemberHelper def index diff --git a/app/views/actives/show.html.erb b/app/views/actives/show.html.erb index 5df9ee3..9c55342 100644 --- a/app/views/actives/show.html.erb +++ b/app/views/actives/show.html.erb @@ -33,7 +33,7 @@
- <%= @act.title %> + <%= @act.title.html_safe %>
diff --git a/app/views/actives/show_data.html.erb b/app/views/actives/show_data.html.erb index b758ec1..930f524 100644 --- a/app/views/actives/show_data.html.erb +++ b/app/views/actives/show_data.html.erb @@ -8,7 +8,7 @@ @act_time_range = data["act_time_range"] %> -

<%= @act.title %>

+

<%= @act.title.html_safe %>

diff --git a/app/views/admin/actives/_index.html.erb b/app/views/admin/actives/_index.html.erb index b18bd99..d2e3a3d 100644 --- a/app/views/admin/actives/_index.html.erb +++ b/app/views/admin/actives/_index.html.erb @@ -28,7 +28,7 @@ <% if act.expired? %> <%= t(:expired) %> <% end %> - <%= act.title %> + <%= act.title.html_safe %>