lib/generators/chatroom/chatroom_generator.rb in chatroom-0.0.8 vs lib/generators/chatroom/chatroom_generator.rb in chatroom-0.0.9
- old
+ new
@@ -11,13 +11,10 @@
"Setup the faye server for chatting."
class_option :routes, :desc => "Generate routes", :type => :boolean, :default => true
hook_for :orm
- # hook_for :views
- # hook_for :controllers
hook_for :assets
- # hook_for :helpers
def add_chatroom_routes
chatroom_route = <<-ROUTE
resources :#{plural_name}, module: 'chatroom'
ROUTE