diff --git a/Rakefile b/Rakefile
index <HASH>..<HASH> 100644
--- a/Rakefile
+++ b/Rakefile
@@ -53,12 +53,4 @@ namespace :sandbox do
       end
     end
   end
-
-  desc "Empty and reseed the database on Heroku"
-  task :reseed do
-    app = "godmin-sandbox"
-    Bundler.with_clean_env do
-      system("heroku run rake sandbox:reseed --app #{app}")
-    end
-  end
 end
diff --git a/lib/godmin/resolver.rb b/lib/godmin/resolver.rb
index <HASH>..<HASH> 100644
--- a/lib/godmin/resolver.rb
+++ b/lib/godmin/resolver.rb
@@ -1,3 +1,6 @@
+require "action_view"
+require "action_view/template/resolver"
+
 module Godmin
   class Resolver < ::ActionView::FileSystemResolver
     def self.resolvers(controller_path, engine_wrapper)
diff --git a/template.rb b/template.rb
index <HASH>..<HASH> 100644
--- a/template.rb
+++ b/template.rb
@@ -127,6 +127,7 @@ def modify_rakefile
         desc "Reseed the database"
         task reseed: :environment do
           Rake::Task["sandbox:reset"].invoke
+          Rake::Task["db:environment:set"].invoke
           Rake::Task["db:schema:load"].invoke
           Rake::Task["db:seed"].invoke
         end
Fix/rails5 sandbox (#<I>)

* Set db env on sandbox deploy



* Require resolver before using it