hawk-eye-demo upgrades

This commit is contained in:
2020-05-07 17:38:56 -05:00
parent 9374de7fc9
commit ccc06e44f8
3 changed files with 5 additions and 3 deletions
@@ -1,5 +1,7 @@
class Dunlop::UserFiltersController < Dunlop::ApplicationController
include Dunlop::Ember::ApiBaseController # Ugly to require a non dependency here, but for now only used in application explicitly including dunlop-ember
if defined? Dunlop::Ember
include Dunlop::Ember::ApiBaseController # Ugly to require a non dependency here, but for now only used in application explicitly including dunlop-ember
end
skip_before_action :verify_authenticity_token
before_action :check_current_user
@@ -1,4 +1,4 @@
class CreateDunlopUserFilters < ActiveRecord::Migration[5.2]
class CreateDunlopUserFilters < ActiveRecord::Migration[5.1]
def change
create_table :dunlop_user_filters do |t|
t.belongs_to :user
@@ -1,4 +1,4 @@
class AddNameToDunlopUserFilters < ActiveRecord::Migration[5.2]
class AddNameToDunlopUserFilters < ActiveRecord::Migration[5.1]
def change
add_column :dunlop_user_filters, :name, :string
add_index :dunlop_user_filters, :scope_key