Sha256: 9d7219bee4659834fbf387814ad79460a59ef61af63e83641e3d681e9b05d780

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

module UrlHelper

  def feature_path(project, feature)
    feature = Houston.get_project_feature feature
    feature.project_path project
  end

  def link_to_project_feature(project, feature)
    feature = Houston.get_project_feature feature
    link_to feature.name, feature.project_path(project)
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/helpers/url_helper.rb
houston-core-0.8.3 app/helpers/url_helper.rb
houston-core-0.8.2 app/helpers/url_helper.rb
houston-core-0.8.1 app/helpers/url_helper.rb
houston-core-0.8.0 app/helpers/url_helper.rb
houston-core-0.8.0.pre2 app/helpers/url_helper.rb