Skip to content

Commit

Permalink
move lib/review/layout.tex.erb to templates/latex/ (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuto authored and takahashim committed Apr 20, 2016
1 parent 63c3291 commit e8f1353
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/review/pdfmaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def get_template
@config["pubhistory"] = make_history_list.join("\n")
end

template = File.expand_path('layout.tex.erb', File.dirname(__FILE__))
template = File.expand_path('./latex/layout.tex.erb', ReVIEW::Template::TEMPLATE_DIR)
layout_file = File.join(@basedir, "layouts", "layout.tex.erb")
if File.exist?(layout_file)
template = layout_file
Expand Down
File renamed without changes.

0 comments on commit e8f1353

Please sign in to comment.