Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Dec 17, 2024
1 parent 5662c4e commit 1ae68ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def valid_#{attribute.collection_name}
end

show_page_doesnt_exist = child == "User"
show_page_target = child == "Membership" ?
show_page_target = (child == "Membership") ?
"./app/views/account/scaffolding/completely_concrete/tangible_things/_attributes.html.erb" :
"./app/views/account/scaffolding/completely_concrete/tangible_things/show.html.erb"
scaffold_add_line_to_file(show_page_target, field_content.strip, ERB_NEW_FIELDS_HOOK, prepend: true, suppress_could_not_find: show_page_doesnt_exist)
Expand Down

0 comments on commit 1ae68ea

Please sign in to comment.