From b2559aab7d5160d855e1d37daaaf4ea9d135dcc4 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sun, 9 Sep 2018 00:05:27 -0500 Subject: [PATCH] oops --- app/views/content/form/_text_input.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/content/form/_text_input.html.erb b/app/views/content/form/_text_input.html.erb index 92ca930e..a15cb98d 100644 --- a/app/views/content/form/_text_input.html.erb +++ b/app/views/content/form/_text_input.html.erb @@ -6,7 +6,7 @@ if f.object.respond_to?(field.name.to_sym) value = f.object.send(field.name.to_sym) else - value = Attribute.where(user: @content.user, attribute_field: field, entity: f.object).first + value = Attribute.where(user: current_user, attribute_field: field, entity: f.object).first end %>