Add post regenerations
This commit is contained in:
5
app/views/post_regenerations/create.js.erb
Normal file
5
app/views/post_regenerations/create.js.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if @post_regeneration.errors.any? %>
|
||||
Danbooru.error("<%= j @post_regeneration.errors.full_messages.join(',') %>");
|
||||
<% else %>
|
||||
Danbooru.notice("Post regenerated");
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user