Skip to content

Commit 1b5bd43

Browse files
committed
fix docs typo
1 parent f4e3b18 commit 1b5bd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ end
126126
To render ViewComponents outside of the view context (such as in a background job, markdown processor, etc), instantiate a Rails controller:
127127

128128
```ruby
129-
ApplicationComponent.new.view_context.render(MyComponent.new)
129+
ApplicationController.new.view_context.render(MyComponent.new)
130130
```

0 commit comments

Comments
 (0)