def get_erb_template(custom_template, is_full, rails_mode, target_path)
      if custom_template
        custom_template
      elsif rails_mode && target_path.match(/controllers/)
        get_rails_controller_template(is_full)
      elsif rails_mode && target_path.match(/helpers/)
        get_rails_helper_template(is_full)
      else
        get_basic_template(is_full)
      end
    end
def get_erb_template(custom_template, is_full, rails_mode, target_path)
      if custom_template
        custom_template
      elsif rails_mode && target_path.match(/controllers/)
        get_rails_controller_template(is_full)
      elsif rails_mode && target_path.match(/helpers/)
        get_rails_helper_template(is_full)
      else
        get_basic_template(is_full)
      end
    end
Returns ERB template