Remove legacy reference to flash[:html_safe]
This code doesn't work since commit a5338a44.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user