lib/eucalypt/blog/namespaces/blog/cli/blog.rb in eucalypt-0.5.1 vs lib/eucalypt/blog/namespaces/blog/cli/blog.rb in eucalypt-0.5.2

- old
+ new

@@ -29,21 +29,9 @@ generator = Eucalypt::Generators::Blog.new generator.destination_root = directory generator.helper generator.controller(route: options[:route]) generator.views - - assets_file = File.join(directory, 'config', 'assets.rb') - - File.open(assets_file) do |f| - return if f.read.include? "assets.append_path Eucalypt.path 'app', 'assets', 'blog'" - end - - insert_into_file( - assets_file, - " assets.append_path Eucalypt.path 'app', 'assets', 'blog'\n", - after: "set :assets, Sprockets::Environment.new\n" - ) else Eucalypt::Error.wrong_directory end end \ No newline at end of file