Skip to content

ActionController::UrlGenerationError in Admin::IdDocuments#index #16

@eddef

Description

@eddef

Error on clicking Verify Account in admin panel

Showing /home/deploy/peatio/current/app/views/admin/id_documents/index.html.slim where line #7 raised:

No route matches {:action=>"show", :controller=>"admin/members", :id=>nil} missing required keys: [:id]
Extracted source (around line #7):
4
5
6
7
8
9
10

  - t.column :id, class: 'col-xs-1' do |x|
    = link_to x.id, admin_id_document_path(x)
  - t.column :name, class: 'col-xs-2' do |x|
    = link_to x.name.to_s, admin_member_path(x.member)
  - t.column :email, class: 'col-xs-2' do |x|
    = link_to x.member.email, admin_member_path(x.member)
  - t.column :id_document_type, t('.id_document_type'), class: 'col-xs-3' do |x|

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions