This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
Bug with imported users table #1272
Closed
Description
After running a big import for BMEC (see #1271) I ran into an error post-import (v3.4.10). Looks like we're missing our helper somewhere. We should see if this is an issue on master
(import new users as banned users using CAS, verify that imported page shows) and fix if necessary.
ActionView::Template::Error (undefined method `make_ban_btn' for #<#<Class:0x0000000899d5b0>:0x00000004d19030>):
27: <% end %>
28: <% if can? :manage, User %>
29: <td><%= link_to "Edit", edit_user_path(user), :class => "btn" %></td>
30: <td><%= make_ban_btn(user) %></td>
31: <% end %>
32: </tr>
33: <% end %>
app/views/users/_table.html.erb:30:in `block in _app_views_users__table_html_erb__2921148102216889050_40002340'
app/views/users/_table.html.erb:19:in `each'
app/views/users/_table.html.erb:19:in `_app_views_users__table_html_erb__2921148102216889050_40002340'
app/views/import_users/imported.html.erb:16:in `_app_views_import_users_imported_html_erb__1810416023315883582_40407360'
app/controllers/import_users_controller.rb:23:in `import'
Activity