Remove legacy reference to flash[:html_safe]

This code doesn't work since commit a5338a44.
This commit is contained in:
Javi Martín
2019-10-01 18:55:43 +02:00
parent c6c3ff5423
commit f444533956

View File

@@ -17,7 +17,6 @@ module Budgets
load_and_authorize_resource :investment, through: :budget, class: "Budget::Investment",
except: :json_data
before_action -> { flash.now[:notice] = flash[:notice].html_safe if flash[:html_safe] && flash[:notice] }
before_action :load_ballot, only: [:index, :show]
before_action :load_heading, only: [:index, :show]
before_action :set_random_seed, only: :index