Module: PushType::NodeUrlHelper
- Defined in:
- app/helpers/push_type/node_url_helper.rb
Instance Method Summary collapse
Instance Method Details
#node_path(source, options = {}) ⇒ Object
4 5 6 7 |
# File 'app/helpers/push_type/node_url_helper.rb', line 4 def node_path(source, = {}) permalink = source.try(:permalink) || source main_app.node_path(permalink, ) end |
#node_url(source, options = {}) ⇒ Object
9 10 11 12 |
# File 'app/helpers/push_type/node_url_helper.rb', line 9 def node_url(source, = {}) permalink = source.try(:permalink) || source main_app.node_url(permalink, ) end |