forked from e621ng/e621ng
[Ruby] Fix sets/related tags exception
This commit is contained in:
parent
42578e58a5
commit
82f285339f
@ -20,7 +20,7 @@ class BulkRelatedTagQuery
|
||||
end
|
||||
end
|
||||
|
||||
def serializable_hash(**options)
|
||||
def serializable_hash(*)
|
||||
tags
|
||||
end
|
||||
|
||||
|
@ -37,7 +37,7 @@ class RelatedTagQuery
|
||||
tags_with_categories(tags)
|
||||
end
|
||||
|
||||
def serializable_hash(options)
|
||||
def serializable_hash(*)
|
||||
{
|
||||
query: query,
|
||||
category: category,
|
||||
|
@ -36,7 +36,7 @@ class TagsPreview
|
||||
end
|
||||
end
|
||||
|
||||
def serializable_hash(**options)
|
||||
def serializable_hash(*)
|
||||
@tags
|
||||
end
|
||||
end
|
||||
|
@ -10,7 +10,7 @@
|
||||
<% if @post_set && @post_set.id %>
|
||||
<li>|</li>
|
||||
<%= subnav_link_to "Posts", posts_path(tags: "set:#{@post_set.shortname}") %>
|
||||
<%= subnav_link_to "Maintainers", action: "maintainers", id: params[:id] %>
|
||||
<%= subnav_link_to "Maintainers", maintainers_post_set_path(@post_set) %>
|
||||
|
||||
<% if @post_set.is_owner?(CurrentUser.user) || CurrentUser.is_admin? %>
|
||||
<%= subnav_link_to "Edit", edit_post_set_path(@post_set) %>
|
||||
|
Loading…
Reference in New Issue
Block a user