]> cat aescling's git repositories - mastodon.git/commit
Add moderation note (#5240)
authornullkal <nullkal@nil.nu>
Sat, 7 Oct 2017 18:26:43 +0000 (03:26 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 7 Oct 2017 18:26:43 +0000 (20:26 +0200)
commit633426b2616e8559acfa76f4294a51afcf434fc2
tree38759fbbd11bb3b40bc29e1a0f8ce048d15c7ce3
parentf486ef2666dacbcb6fcd26e371bb5e945369dcfe
Add moderation note (#5240)

* Add moderation note

* Add frozen_string_literal

* Make rspec pass
15 files changed:
app/controllers/admin/account_moderation_notes_controller.rb [new file with mode: 0644]
app/controllers/admin/accounts_controller.rb
app/helpers/admin/account_moderation_notes_helper.rb [new file with mode: 0644]
app/models/account.rb
app/models/account_moderation_note.rb [new file with mode: 0644]
app/views/admin/account_moderation_notes/_account_moderation_note.html.haml [new file with mode: 0644]
app/views/admin/accounts/show.html.haml
config/locales/en.yml
config/routes.rb
db/migrate/20171005102658_create_account_moderation_notes.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/admin/account_moderation_notes_controller_spec.rb [new file with mode: 0644]
spec/fabricators/account_moderation_note_fabricator.rb [new file with mode: 0644]
spec/helpers/admin/account_moderation_notes_helper_spec.rb [new file with mode: 0644]
spec/models/account_moderation_note_spec.rb [new file with mode: 0644]