lib/generators/talkie/install_generator.rb in talkie-0.3.0 vs lib/generators/talkie/install_generator.rb in talkie-0.3.1
- old
+ new
@@ -20,8 +20,12 @@
end
def create_talkie_migration
migration_template "create_talkie_comments.rb", "db/migrate/create_talkie_comments.rb"
end
+
+ def add_engine_to_routes_file
+ route "mount Talkie::Engine => '/talkie'"
+ end
end
end
end