Pull upload notice, bookmarklet notice from help:upload_notice wiki page.

This commit is contained in:
evazion
2016-11-21 01:17:15 -06:00
parent 77e06b6c08
commit 5909e8501c
3 changed files with 6 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ class UploadsController < ApplicationController
def new
@upload = Upload.new
@upload_notice_wiki = WikiPage.titled(Danbooru.config.upload_notice_wiki_page).first
if params[:url]
@normalized_url = params[:url]
headers = default_headers()