<commit_before>module ApplicationController::DialogRunner
  extend ActiveSupport::Concern

  def redirect_url
    if restful_routed?(self.class.model)
      polymorphic_path(model.find(session[:edit][:target_id]))
    else
      {:action => 'show', :id => session[:edit][:target_id]}
    end
  end<commit_msg>DialogRunner: put back a missing line.<commit_after>module ApplicationController::DialogRunner
  extend ActiveSupport::Concern

  def redirect_url
    model = self.class.model
    if restful_routed?(model)
      polymorphic_path(model.find(session[:edit][:target_id]))
    else
      {:action => 'show', :id => session[:edit][:target_id]}
    end
  end
{'fraction_non_alphanumeric': 0.12556732223903178, 'fraction_numerical': 0.0, 'mean_word_length': 4.706896551724138, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3135413', 'n_tokens_mistral': 209, 'n_tokens_neox': 202, 'n_words': 38}