# used to serve static angular templates from under app/views/static/

class StaticController < ActionController::Base
  # hide_action is gone in Rails, but high_voltage is still using it.
  # https://github.com/thoughtbot/high_voltage/pull/214
  def self.hide_action(*)
  end

  include HighVoltage::StaticPage
end

# used to serve static angular templates from under app/views/static/

class StaticController < ActionController::Base
  # Added to satisfy Brakeman
  protect_from_forgery

  # hide_action is gone in Rails, but high_voltage is still using it.
  # https://github.com/thoughtbot/high_voltage/pull/214
  def self.hide_action(*)
  end

  include HighVoltage::StaticPage
end

Add `protect_from_forgery` to satisfy Brakeman
Add `protect_from_forgery` to satisfy Brakeman