Skip to content

Commit 4f4b011

Browse files
committed
book2: drop template_dir variable entirely
As of the previous commit, nobody looks at it anymore.
1 parent e560b5f commit 4f4b011

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/tasks/book2.rake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ task reset_book2: :environment do
3131
end
3232

3333
def genbook(code, &get_content)
34-
template_dir = Rails.root.join("templates")
35-
3634
nav = '<div id="nav"><a href="[[nav-prev]]">prev</a> | <a href="[[nav-next]]">next</a></div>'
3735

3836
progit = get_content.call("progit.asc")

0 commit comments

Comments
 (0)