lib/generators/bootswitch/install/install_generator.rb in bootswitch-0.0.5 vs lib/generators/bootswitch/install/install_generator.rb in bootswitch-0.0.7
- old
+ new
@@ -11,13 +11,7 @@
# all public methods in here will be run in order
def install_initializer
output "This installs a basic initializer where you can set the method that stores the name of the bootswatch bootswatch to be displayed.", :magenta
template "initializer.rb", "config/initializers/bootswitch.rb"
end
-
- def add_route
- output "Adding Bootswitch to your routes.rb file", :magenta
- gsub_file "config/routes.rb", /mount Bootswitch::Engine => '\/bootswatch\/', :as => 'bootswitch'/, ''
- route("mount Bootswitch::Engine => '/bootswatch/', :as => 'bootswitch'")
- end
end
end
\ No newline at end of file