Error when clicking structure of group settings
Console output, Error reproduced in development, but exists also live:
Started GET "/groups/rainbow+the-cold-colors/structure" for 127.0.0.1 at 2018-01-04 13:08:20 +0100
Processing by Group::StructuresController#show as HTML
Parameters: {"group_id"=>"rainbow+the-cold-colors"}
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1
Group Load (0.6ms) SELECT `groups`.* FROM `groups` WHERE `groups`.`name` = 'rainbow+the-cold-colors' ORDER BY `groups`.`id` ASC LIMIT 1
Group Load (0.4ms) SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 3 LIMIT 1
RequestToDestroyOurGroup Exists (0.5ms) SELECT 1 AS one FROM `requests` WHERE `requests`.`type` IN ('RequestToDestroyOurGroup') AND (state = 'pending') AND `requests`.`requestable_type` = 'Group' AND `requests`.`requestable_id` = 32 LIMIT 1
Rendered group/structures/show.html.haml within layouts/application (105.7ms)
Completed 500 Internal Server Error in 115ms (ActiveRecord: 2.0ms)
ActionView::Template::Error (undefined method `link_to_with_confirm' for #<#<Class:0x007f35d19dd8a8>:0x007f35e3294760>
Did you mean? link_to_icon):
24: - else
25: - r.input :none.t
26: - r.info :network_description.t
27: - if destroy_group_link.present?
28: - f.row do |r|
29: - r.label :structure.t
30: - r.input destroy_group_link
app/helpers/group/links_helper.rb:90:in `destroy_group_link'
app/views/group/structures/show.html.haml:27:in `block in _app_views_group_structures_show_html_haml__2816599227234779948_69934563416340'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/helper.rb:8:in `formy'
app/views/group/structures/show.html.haml:1:in `_app_views_group_structures_show_html_haml__2816599227234779948_69934563416340'
app/controllers/common/application/before_filters.rb:6:in `render'
Edited by Cognata