Skip to content

Commit

Permalink
Section: Permit setting the #description
Browse files Browse the repository at this point in the history
- #1155

- I forgot this in #2055.
  Which probably means I should write a system spec.
  • Loading branch information
zspencer committed Dec 21, 2023
1 parent 9d31b6b commit a887ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/policies/room_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create?
alias_method :new?, :create?

def permitted_attributes(params)
[:access_level, :name, :slug, gizmos_attributes:
[:access_level, :name, :description, :slug, gizmos_attributes:
policy(Furniture).permitted_attributes(params)]
end

Expand Down

0 comments on commit a887ef3

Please sign in to comment.