Skip to content

Commit

Permalink
html blog: @request is nil while initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
okkez committed Jun 15, 2016
1 parent b9da34c commit 9d9dc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/blog/tdiary.conf
Expand Up @@ -136,7 +136,7 @@ require "#{base}clear-code/gitio"
"twitter",
].join("\n")

if @request.cgi.respond_to?(:html_archiver?)
if @request && @request.cgi.respond_to?(:html_archiver?)
@base_url = "http://milter-manager.sourceforge.net/blog/ja/"
@options['image.url'] = "http://milter-manager.sourceforge.net/blog/ja/"
@footer << <<-FOOTER
Expand Down

0 comments on commit 9d9dc2d

Please sign in to comment.