diff --git a/app.rb b/app.rb index b05dafd216d88af0bcfae0e0d7a4fa7817f5c6b2..147d3c9198f091a5d9d66c64f9bcb377ca7242a7 100644 --- a/app.rb +++ b/app.rb @@ -25,6 +25,8 @@ use Rack::CAS, server_url: 'https://login.unl.edu/cas', Time.zone = "America/Chicago" DIRECTORY_URL = 'http://directory.unl.edu/' +NIS_SS_ID = ServiceSpace.where(:name => 'Innovation Studio').first.id +NIS_TOOL_RESOURCE_CLASS_ID = 1 # this gives the user messages def flash(type, header, message) diff --git a/db/migrate/20160926160000_add_tour_type.rb b/db/migrate/20160926160000_add_tour_type.rb new file mode 100644 index 0000000000000000000000000000000000000000..f33f66bf0f165112577fc5e70ce089217037dafb --- /dev/null +++ b/db/migrate/20160926160000_add_tour_type.rb @@ -0,0 +1,11 @@ +require 'active_record' +require 'models/event_type' + +class AddTourType < ActiveRecord::Migration + def up + EventType.create({ + description: 'Tour', + service_space_id: 1 + }) + end +end \ No newline at end of file