Skip to content

Commit

Permalink
Added public_concerto config param to the default DB setup
Browse files Browse the repository at this point in the history
  • Loading branch information
augustf committed Apr 26, 2012
1 parent 45e3fcd commit dbf6cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
Membership.create(:user_id => 1, :group_id => 1, :level => 9)

#Put in default configuration parameters
ConcertoConfig.create(:key => "default_upload_type", :value => "graphic")
ConcertoConfig.find_or_create_by_key(:key => "default_upload_type", :value => "graphic")
ConcertoConfig.find_or_create_by_key(:key => "public_concerto", :value => "true")

#Create an initial feed
Feed.find_or_create_by_name(:name => "Concerto", :description => "Initial Concerto Feed", :group_id => 1, :is_viewable => 1, :is_submittable => 1)
Expand Down

0 comments on commit dbf6cca

Please sign in to comment.