summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
blob: 658a065aba57503bfcb01445a697a061ba8b6e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :null_session
  before_filter :load_additional_payload_data

  def load_additional_payload_data
    @license_statuses = LicenseStatus::ALL
    @well_types = WellType::ALL
  end
end