Skip to content

Commit 331f991

Browse files
committed
Fix dashboard image uploading
This is currently failing on main because of an argument miss-match. Make sure we pass arguments to super By default, `super` will pass all the arguments accepted by the current method. Make sure this method accepts arguments.
1 parent d855da4 commit 331f991

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/dashboards/project_dashboard.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def display_resource(project)
8282
"Project ##{project.name}"
8383
end
8484

85-
def permitted_attributes
85+
def permitted_attributes(...)
8686
super + [{ images: [] }]
8787
end
8888
end

0 commit comments

Comments
 (0)