Skip to content
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
Closed
@orenyk

Description

@orenyk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions