Skip to content

Commit

Permalink
Merge pull request #2836 from tvdeyen/fix-ingredient-boolean-view
Browse files Browse the repository at this point in the history
Fix Ingredient Boolean View
  • Loading branch information
tvdeyen authored Apr 12, 2024
2 parents 3ceaff0 + 7cc5df6 commit eae9842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/alchemy/ingredients/boolean_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Alchemy
module Ingredients
class BooleanView < BaseView
def call
Alchemy.t(value, scope: "ingredient_values.boolean").html_safe
Alchemy.t(value.to_s, scope: "ingredient_values.boolean").html_safe
end

def render?
Expand Down

0 comments on commit eae9842

Please sign in to comment.