Fix artist link for wiki show-or-new page
This commit is contained in:
@@ -71,7 +71,7 @@ class WikiPagesController < ApplicationController
|
|||||||
redirect_to wiki_page_path(@wiki_page)
|
redirect_to wiki_page_path(@wiki_page)
|
||||||
else
|
else
|
||||||
@wiki_page = WikiPage.new(:title => params[:title])
|
@wiki_page = WikiPage.new(:title => params[:title])
|
||||||
@artist = Artist.name_matches(@wiki_page.title).first
|
@artist = Artist.named(@wiki_page.title).active.first
|
||||||
respond_with(@wiki_page)
|
respond_with(@wiki_page)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user