fixing db seed
This commit is contained in:
parent
57d9bd1543
commit
89cf2db10e
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ Diaspora::Application.routes.draw do |map|
|
||||||
resources :requests
|
resources :requests
|
||||||
|
|
||||||
match 'warzombie', :to => "dashboards#warzombie"
|
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,
|
#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
|
#non mutable stuff in anohter file
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace :db do
|
||||||
|
|
||||||
task :accept_requests do
|
task :accept_requests do
|
||||||
puts "Accepting all friend requests for #{Rails.env}"
|
puts "Accepting all friend requests for #{Rails.env}"
|
||||||
require 'db/seeds/accept'
|
require 'db/seeds/request'
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Delete the collections in the current RAILS_ENV database'
|
desc 'Delete the collections in the current RAILS_ENV database'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue