<commit_before>module Wicked::Controller::Concerns::Path
  extend ActiveSupport::Concern


  def next_wizard_path
    wizard_path(@next_step)
  end

  def controller
    params[:controller]
  end

  def action
    params[:action]
  end


  def wizard_path(goto_step = nil, options = {})
    options = {
                 :controller => controller,
                 :action     => 'show',
                 :id         => goto_step || action,
                 :only_path  => true
               }.merge options
    url_for(options)
  end<commit_msg>fix path bug<commit_after>module Wicked::Controller::Concerns::Path
  extend ActiveSupport::Concern


  def next_wizard_path
    wizard_path(@next_step)
  end

  def controller
    params[:controller]
  end

  def action
    params[:action]
  end


  def wizard_path(goto_step = nil, options = {})
    options = {
                 :controller => controller,
                 :action     => 'show',
                 :id         => goto_step || params[:id],
                 :only_path  => true
               }.merge options
    url_for(options)
  end
{'fraction_non_alphanumeric': 0.09762773722627738, 'fraction_numerical': 0.0, 'mean_word_length': 1.9568733153638813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5700013', 'n_tokens_mistral': 325, 'n_tokens_neox': 306, 'n_words': 69}