From 046b9ed6f8d6a8ab04927d9d9c80f21b28d5cf39 Mon Sep 17 00:00:00 2001 From: tykayn Date: Fri, 20 Dec 2019 14:30:13 +0100 Subject: [PATCH 1/2] :zap: link to suspend account --- app/views/admin/accounts/_account.html.haml | 2 +- db/migrate/20190827120456_create_user_groups.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/accounts/_account.html.haml b/app/views/admin/accounts/_account.html.haml index 6baa849c1..8c587cf8c 100644 --- a/app/views/admin/accounts/_account.html.haml +++ b/app/views/admin/accounts/_account.html.haml @@ -27,4 +27,4 @@ %td = number_with_delimiter account.followers_count %td - \- + = table_link_to 'trash', t('admin.accounts.web'), web_path("accounts/#{account.id}/action/new?type=suspend") diff --git a/db/migrate/20190827120456_create_user_groups.rb b/db/migrate/20190827120456_create_user_groups.rb index 989f50877..d41637729 100644 --- a/db/migrate/20190827120456_create_user_groups.rb +++ b/db/migrate/20190827120456_create_user_groups.rb @@ -11,4 +11,4 @@ class CreateUserGroups < ActiveRecord::Migration[5.2] t.timestamps end end -end +endvu From e064b3eb152d7a0e7e177bda33070a89498b3a50 Mon Sep 17 00:00:00 2001 From: tykayn Date: Fri, 20 Dec 2019 14:30:43 +0100 Subject: [PATCH 2/2] :bug: fix typo in migration --- db/migrate/20190827120456_create_user_groups.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20190827120456_create_user_groups.rb b/db/migrate/20190827120456_create_user_groups.rb index d41637729..989f50877 100644 --- a/db/migrate/20190827120456_create_user_groups.rb +++ b/db/migrate/20190827120456_create_user_groups.rb @@ -11,4 +11,4 @@ class CreateUserGroups < ActiveRecord::Migration[5.2] t.timestamps end end -endvu +end