Skip to content

Commit 5720e2c

Browse files
authored
Fix AlertDialog controller reference (#191)
1 parent 468d580 commit 5720e2c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
33
{
4-
"name": "RbUI",
4+
"name": "RubyUI",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
"image": "ghcr.io/rails/devcontainer/images/ruby:3.3.3",
77
// Features to add to the dev container. More info: https://containers.dev/features.
@@ -30,4 +30,4 @@
3030
// "customizations": {},
3131
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3232
// "remoteUser": "root"
33-
}
33+
}

lib/ruby_ui/alert_dialog/alert_dialog_content.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RubyUI
44
class AlertDialogContent < Base
55
def view_template(&block)
66
template(**attrs) do
7-
div(data: {controller: "rbui--alert-dialog"}) do
7+
div(data: {controller: "ruby-ui--alert-dialog"}) do
88
background
99
container(&block)
1010
end

0 commit comments

Comments
 (0)