Skip to content

Commit f7297b7

Browse files
justin808claude
andcommitted
Remove hello_world example added by React on Rails generator
The hello_world controller, views, and route are not needed as this tutorial app already has its own example components and routing structure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent bbb27f7 commit f7297b7

File tree

5 files changed

+2
-27
lines changed

5 files changed

+2
-27
lines changed

app/controllers/hello_world_controller.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/views/hello_world/index.html.erb

Lines changed: 0 additions & 2 deletions
This file was deleted.

app/views/layouts/hello_world.html.erb

Lines changed: 0 additions & 15 deletions
This file was deleted.

client/app/packs/server-bundle.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
// import statement added by react_on_rails:generate_packs rake task
2+
import "./../generated/server-bundle-generated.js"
13
// Server bundle imports
24
import serverRegistration from '../bundles/comments/startup/serverRegistration';

config/routes.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

33
Rails.application.routes.draw do
4-
get 'hello_world', to: 'hello_world#index'
54
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
65

76
# Serve websocket cable requests in-process

0 commit comments

Comments
 (0)