Module: UrlHelper
- Included in:
- ApplicationController, ProjectPresenter
- Defined in:
- app/helpers/url_helper.rb
Instance Method Summary collapse
Instance Method Details
#feature_path(project, feature) ⇒ Object
3 4 5 6 |
# File 'app/helpers/url_helper.rb', line 3 def feature_path(project, feature) feature = Houston.project_features[feature] feature.path project end |
#link_to_project_feature(project, feature) ⇒ Object
8 9 10 11 |
# File 'app/helpers/url_helper.rb', line 8 def link_to_project_feature(project, feature) feature = Houston.project_features[feature] link_to feature.name, feature.path(project) end |