mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
fixing db seed
This commit is contained in:
@@ -7,6 +7,7 @@ Diaspora::Application.routes.draw do |map|
|
||||
resources :requests
|
||||
|
||||
match 'warzombie', :to => "dashboards#warzombie"
|
||||
match 'zombiefriends', :to => "dashboards#zombiefriends"
|
||||
|
||||
#routes for devise, not really sure you will need to mess with this in the future, lets put default,
|
||||
#non mutable stuff in anohter file
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace :db do
|
||||
|
||||
task :accept_requests do
|
||||
puts "Accepting all friend requests for #{Rails.env}"
|
||||
require 'db/seeds/accept'
|
||||
require 'db/seeds/request'
|
||||
end
|
||||
|
||||
desc 'Delete the collections in the current RAILS_ENV database'
|
||||
|
||||
Reference in New Issue
Block a user