You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/langchainrb_rails/generators/langchainrb_rails/templates/assistant/controllers/assistants_controller.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ def edit
32
32
33
33
defupdate
34
34
if@assistant.update(assistant_params)
35
-
redirect_to@assistant,notice: 'Assistant was successfully updated.'
35
+
redirect_to@assistant,notice: "Assistant was successfully updated."
36
36
else
37
37
render:edit
38
38
end
@@ -55,7 +55,7 @@ def chat
55
55
56
56
defdestroy
57
57
@assistant.destroy
58
-
redirect_toassistants_path,notice: 'Assistant was successfully deleted.'
58
+
redirect_toassistants_path,notice: "Assistant was successfully deleted."
0 commit comments