Skip to content

Commit

Permalink
Hotwireを有効にした, Driveに対応した
Browse files Browse the repository at this point in the history
  • Loading branch information
yakitorii committed Dec 12, 2022
1 parent c578f07 commit 12f6cc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion hotwire-tw-demo/app/controllers/tweets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def create
if @tweet.save
redirect_to action: :index
else
render :index
render :index, status: :unprocessable_entity
end
end

Expand Down
1 change: 0 additions & 1 deletion hotwire-tw-demo/app/javascript/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
import "@hotwired/turbo-rails"
import "./controllers"
import * as bootstrap from "bootstrap"
Turbo.session.drive = false

0 comments on commit 12f6cc4

Please sign in to comment.