master
E. Almqvist 3 years ago
parent ff83c217c8
commit 3a558f9d31
  1. 2
      src/app.rb

@ -253,7 +253,7 @@ get "/admin/roles/:id/delete" do
id = params[:id].to_i
role_check id
Role.delete id
Role.delete "id = ?", id
flash[:success] = "Removed role."
redirect "/admin"

Loading…
Cancel
Save