rubocop: fix various style issues.
This commit is contained in:
@@ -11,14 +11,14 @@ module WikiPagesHelper
|
||||
html << "<h2>Posts (#{full_link})</h2>"
|
||||
html << wiki_page.post_set.presenter.post_previews_html(self)
|
||||
end
|
||||
|
||||
|
||||
html << "</div>"
|
||||
|
||||
html.html_safe
|
||||
end
|
||||
|
||||
def wiki_page_other_names_list(wiki_page)
|
||||
names_html = wiki_page.other_names.map{|name| link_to(name, "http://www.pixiv.net/search.php?s_mode=s_tag_full&word=#{u(name)}", :class => "wiki-other-name")}
|
||||
names_html = wiki_page.other_names.map {|name| link_to(name, "http://www.pixiv.net/search.php?s_mode=s_tag_full&word=#{u(name)}", :class => "wiki-other-name")}
|
||||
names_html.join(" ").html_safe
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user