aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-17 22:29:02 +0900
committerGitHub <noreply@github.com>2017-09-17 22:29:02 +0900
commit2402dd55882b91a26ae5f419eeb97493afd4f79b (patch)
tree65d75ec7ea753094fde9bf5de2deb95aadd0ba1e /activestorage
parentfefc5e8e3757559cfbbb21390165c842bb8565f3 (diff)
parent194a93385b08be857172b8eb6287d335c5adf1ea (diff)
downloadrails-2402dd55882b91a26ae5f419eeb97493afd4f79b.tar.gz
rails-2402dd55882b91a26ae5f419eeb97493afd4f79b.tar.bz2
rails-2402dd55882b91a26ae5f419eeb97493afd4f79b.zip
Merge pull request #30628 from yhirano55/add_local_option_to_message_form
Add local option to Message form [ci skip]
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/README.md b/activestorage/README.md
index f4aae4fc00..8814887950 100644
--- a/activestorage/README.md
+++ b/activestorage/README.md
@@ -63,7 +63,7 @@ end
```
```erb
-<%= form_with model: @message do |form| %>
+<%= form_with model: @message, local: true do |form| %>
<%= form.text_field :title, placeholder: "Title" %><br>
<%= form.text_area :content %><br><br>