Skip to content

Commit 757d1f7

Browse files
justin808claude
andcommitted
Replace spec/dummy/bin/dev symlink with wrapper script
Change spec/dummy/bin/dev from a symlink to a wrapper script that calls the template bin/dev with --route=/ argument. This ensures the dummy app always uses the root route instead of the default hello_world route. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 240012f commit 757d1f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/dummy/bin/dev

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/dummy/bin/dev

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
# This script calls the base dev script with a fixed route for the dummy app
5+
exec File.join(__dir__, "../../../lib/generators/react_on_rails/templates/base/base/bin/dev"), "--route=/", *ARGV

0 commit comments

Comments
 (0)