Module: ActiveBlog::ApplicationHelper
- Defined in:
- app/helpers/active_blog/application_helper.rb
Overview
These helpers are intended to be used by developers.
Instance Method Summary collapse
- #active_blog_atom_link_tag ⇒ Object
- #active_blog_author_email ⇒ Object
- #active_blog_author_name ⇒ Object
- #active_blog_author_uri ⇒ Object
- #active_blog_description ⇒ Object
- #active_blog_sidebar(&block) ⇒ Object
- #active_blog_title ⇒ Object
Instance Method Details
#active_blog_atom_link_tag ⇒ Object
35 36 37 |
# File 'app/helpers/active_blog/application_helper.rb', line 35 def active_blog_atom_link_tag auto_discovery_link_tag(:atom, "#{active_blog_feed_url}", {:title => "Subscribe to this blog"}) end |
#active_blog_author_email ⇒ Object
31 32 33 |
# File 'app/helpers/active_blog/application_helper.rb', line 31 def ActiveBlog. end |
#active_blog_author_name ⇒ Object
23 24 25 |
# File 'app/helpers/active_blog/application_helper.rb', line 23 def ActiveBlog. end |
#active_blog_author_uri ⇒ Object
27 28 29 |
# File 'app/helpers/active_blog/application_helper.rb', line 27 def ActiveBlog. end |
#active_blog_description ⇒ Object
10 11 12 |
# File 'app/helpers/active_blog/application_helper.rb', line 10 def active_blog_description ActiveBlog.description end |
#active_blog_sidebar(&block) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/helpers/active_blog/application_helper.rb', line 14 def (&block) = ActiveBlog. if content_for do yield end end end |
#active_blog_title ⇒ Object
6 7 8 |
# File 'app/helpers/active_blog/application_helper.rb', line 6 def active_blog_title ActiveBlog.title end |