Method: Juli::Visitor::Html::Helper::FbLike#run
- Defined in:
- lib/juli/visitor/html/helper/fb_like.rb
#run(*args) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/juli/visitor/html/helper/fb_like.rb', line 24 def run(*args) raise Juli::NoConfig if !conf['url_prefix'] raise Juli::NoConfig if !@in_file template.gsub('%{href}', conf['url_prefix'] + '/' + to_wikiname(@in_file) + conf['ext']) end |