Dnas la partie admin "Applications de l'API", lien /admin/applications :
I, [2017-02-05T20:37:32.792334 #7275] INFO -- : Rendered admin/applications/index.html.haml within layouts/application (155.5ms)
I, [2017-02-05T20:37:32.792664 #7275] INFO -- : Completed 500 Internal Server Error in 165ms (ActiveRecord: 7.5ms)
F, [2017-02-05T20:37:32.794768 #7275] FATAL -- :
ActionView::Template::Error (undefined method `admin_doorkeeper_application_path' for #<#<Class:0x0000000a8e3d48>:0x00000009422ee0>):
12: %td
13: = app.redirect_uri
14: %td
15: = link_to "Afficher", [:admin, app], class: "show_client_app"
16: = link_to "Modifier", edit_admin_application_path(app), class: "edit_client_app"
17: = button_to "Supprimer", [:admin, app], method: :delete, class: "delete_button", data: { confirm: "Êtes-vous sûr de vouloir supprimer cette application ?" }
18:
app/views/admin/applications/index.html.haml:15:in `block in _app_views_admin_applications_index_html_haml__1721076905029791148_77663000'
app/views/admin/applications/index.html.haml:8:in `_app_views_admin_applications_index_html_haml__1721076905029791148_77663000'
# Corrigé
Posté par Bruno Michel (site web personnel) . Évalué à 3 (+0/-0).
Cf https://github.com/linuxfrorg/linuxfr.org/commit/6dce23047c4ebae36b71693dcf4e8923411f49d7
Envoyer un commentaire
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.