<commit_before>module NavigationHelpers
  # Put helper methods related to the paths in your application here.

  def homepage
    "/"
  end

  def event_page(event)
    "/events/#{event.id}"

  end

  def event_proposals_page(event)
    "/events/#{event.id}/proposals"
  end

  def proposal_page(proposal)
    "/events/#{proposal.event.id}/proposals/#{proposal.id}"
  end
end

RSpec.configuration.include NavigationHelpers, :type => :acceptance<commit_msg>minor<commit_after>module NavigationHelpers
  # Put helper methods related to the paths in your application here.

  def homepage
    "/"
  end

  def event_page(event)
    "/events/#{event.id}"
  end

  def event_proposals_page(event)
    "/events/#{event.id}/proposals"
  end

  def proposal_page(proposal)
    "/events/#{proposal.event.id}/proposals/#{proposal.id}"
  end
end

RSpec.configuration.include NavigationHelpers, :type => :acceptance
{'fraction_non_alphanumeric': 0.11738648947951273, 'fraction_numerical': 0.0, 'mean_word_length': 3.860215053763441, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5503804', 'n_tokens_mistral': 305, 'n_tokens_neox': 292, 'n_words': 65}