taglib_filename expects template_dir to contain HOBO_ROOT
Reported by Ahenobarbi | June 19th, 2010 @ 12:19 AM
I'm making a gem that should contain a taglib. I wanted to use
include_taglib "rapid_openid_user_pages", :template_dir => "#{File.expand_path(File.dirname(__FILE__))}/../taglibs"
to include that taglib, but it doesn't work because taglib_filename ignores template_dir if it doesn't contain HOBO_ROOT. Patch attached.
Comments and changes to this ticket
-
Tom Locke June 25th, 2010 @ 03:02 PM
- State changed from new to resolved
(from [74f63bbcf60e787c0a300311d7f0a3f82e8930d0]) Allow including taglibs using absolute path [#743 state:resolved] http://github.com/tablatom/hobo/commit/74f63bbcf60e787c0a300311d7f0...
-
Bryan Larsen June 25th, 2010 @ 03:07 PM
- Tag changed from patch taglib gem to dryml, enhancement
I applied the patch, but I do expect a patch to the documentation too:
http://github.com/tablatom/hobocookbook/blob/master/manual/dryml-gu...I kind of expected you to add a "gem" option, which would probably be more useful, but absolute_template_path is useful too.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Attachments
Tags
Referenced by
- 743 taglib_filename expects template_dir to contain HOBO_ROOT (from [74f63bbcf60e787c0a300311d7f0a3f82e8930d0]) Allow i...