def hash_for_external_login_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_login, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_login_url def external_login_url(*args) url_for(hash_for_external_login_url(__extract_options__(args, [:path]))) end # protected :external_login_url def hash_for_best_offers_admin_offers_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:best_offers_admin_offers, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offers_path def best_offers_admin_offers_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_offers_path(__extract_options__(args, []))) end # protected :best_offers_admin_offers_path def hash_for_best_offers_admin_offer_categories_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_categories", :use_route=>:best_offers_admin_offer_categories, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offer_categories_path def best_offers_admin_offer_categories_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offer_categories" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_offer_categories_path(__extract_options__(args, []))) end # protected :best_offers_admin_offer_categories_path def hash_for_best_offers_admin_offer_order_calculations_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_order_calculations", :use_route=>:best_offers_admin_offer_order_calculations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offer_order_calculations_path def best_offers_admin_offer_order_calculations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offer_order_calculations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_offer_order_calculations_path(__extract_options__(args, []))) end # protected :best_offers_admin_offer_order_calculations_path def hash_for_edit_best_offers_admin_offer_category_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_categories", :use_route=>:edit_best_offers_admin_offer_category, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_best_offers_admin_offer_category_path def edit_best_offers_admin_offer_category_path(*args) url_for(hash_for_edit_best_offers_admin_offer_category_path(__extract_options__(args, [:id]))) end # protected :edit_best_offers_admin_offer_category_path def hash_for_best_offers_admin_offer_category_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_categories", :use_route=>:best_offers_admin_offer_category, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offer_category_path def best_offers_admin_offer_category_path(*args) url_for(hash_for_best_offers_admin_offer_category_path(__extract_options__(args, [:id]))) end # protected :best_offers_admin_offer_category_path def hash_for_best_offers_offer_category_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offer_categories", :use_route=>:best_offers_offer_category, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_category_path def best_offers_offer_category_path(*args) url_for(hash_for_best_offers_offer_category_path(__extract_options__(args, [:id]))) end # protected :best_offers_offer_category_path def hash_for_new_best_offers_admin_offer_category_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_categories", :use_route=>:new_best_offers_admin_offer_category, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_best_offers_admin_offer_category_path def new_best_offers_admin_offer_category_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offer_categories/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_best_offers_admin_offer_category_path(__extract_options__(args, []))) end # protected :new_best_offers_admin_offer_category_path def hash_for_best_offers_admin_offer_categories_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/admin/offer_categories", :use_route=>:best_offers_admin_offer_categories, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offer_categories_url def best_offers_admin_offer_categories_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offer_categories" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_offer_categories_url(__extract_options__(args, []))) end # protected :best_offers_admin_offer_categories_url def hash_for_edit_best_offers_admin_offer_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:edit_best_offers_admin_offer, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_best_offers_admin_offer_path def edit_best_offers_admin_offer_path(*args) url_for(hash_for_edit_best_offers_admin_offer_path(__extract_options__(args, [:id]))) end # protected :edit_best_offers_admin_offer_path def hash_for_best_offers_admin_reset_offer_order_calculations_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offer_order_calculations", :use_route=>:best_offers_admin_reset_offer_order_calculations, :action=>"reset"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_reset_offer_order_calculations_path def best_offers_admin_reset_offer_order_calculations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/reset_offer_orders" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_reset_offer_order_calculations_path(__extract_options__(args, []))) end # protected :best_offers_admin_reset_offer_order_calculations_path def hash_for_best_offers_admin_offer_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:best_offers_admin_offer, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_offer_path def best_offers_admin_offer_path(*args) url_for(hash_for_best_offers_admin_offer_path(__extract_options__(args, [:id]))) end # protected :best_offers_admin_offer_path def hash_for_new_best_offers_admin_offer_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:new_best_offers_admin_offer, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_best_offers_admin_offer_path def new_best_offers_admin_offer_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/offers/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_best_offers_admin_offer_path(__extract_options__(args, []))) end # protected :new_best_offers_admin_offer_path def hash_for_external_home_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_home, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_home_url def external_home_url(*args) url_for(hash_for_external_home_url(__extract_options__(args, []))) end # protected :external_home_url def hash_for_best_offers_offers_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offers", :use_route=>:best_offers_offers, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offers_path def best_offers_offers_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_offers_path(__extract_options__(args, []))) end # protected :best_offers_offers_path def hash_for_best_offers_offers_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offers", :use_route=>:best_offers_offers, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offers_url def best_offers_offers_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_offers_url(__extract_options__(args, []))) end # protected :best_offers_offers_url def hash_for_best_offers_offer_category_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offer_categories", :use_route=>:best_offers_offer_category, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_category_url def best_offers_offer_category_url(*args) url_for(hash_for_best_offers_offer_category_url(__extract_options__(args, [:id]))) end # protected :best_offers_offer_category_url def hash_for_new_best_offers_partner_enquiry_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/partner_enquiries", :use_route=>:new_best_offers_partner_enquiry, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_best_offers_partner_enquiry_path def new_best_offers_partner_enquiry_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/partner_enquiries/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_best_offers_partner_enquiry_path(__extract_options__(args, []))) end # protected :new_best_offers_partner_enquiry_path def hash_for_best_offers_newsletter_subscription_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/newsletter_subscription", :use_route=>:best_offers_newsletter_subscription, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_newsletter_subscription_path def best_offers_newsletter_subscription_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/newsletter_subscription" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_newsletter_subscription_path(__extract_options__(args, []))) end # protected :best_offers_newsletter_subscription_path def hash_for_best_offers_feedback_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offer_feedback", :use_route=>:best_offers_feedback, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_feedback_path def best_offers_feedback_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/feedback" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_feedback_path(__extract_options__(args, []))) end # protected :best_offers_feedback_path def hash_for_best_offers_legal_info_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/legal_infos", :use_route=>:best_offers_legal_info, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_legal_info_path def best_offers_legal_info_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/legal_info" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_legal_info_path(__extract_options__(args, []))) end # protected :best_offers_legal_info_path def hash_for_best_offers_admin_staging_params_setter_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:best_offers_admin_staging_params_setter, :action=>"set_staging_params"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_staging_params_setter_path def best_offers_admin_staging_params_setter_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/set_staging_params" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_staging_params_setter_path(__extract_options__(args, []))) end # protected :best_offers_admin_staging_params_setter_path def hash_for_best_offers_admin_staging_params_resetter_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/admin/offers", :use_route=>:best_offers_admin_staging_params_resetter, :action=>"reset_staging_params"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_admin_staging_params_resetter_path def best_offers_admin_staging_params_resetter_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/admin/reset_staging_params" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_admin_staging_params_resetter_path(__extract_options__(args, []))) end # protected :best_offers_admin_staging_params_resetter_path def hash_for_formatted_best_offers_offer_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offers", :use_route=>:formatted_best_offers_offer, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_formatted_best_offers_offer_url def formatted_best_offers_offer_url(*args) url_for(hash_for_formatted_best_offers_offer_url(__extract_options__(args, [:id, :format]))) end # protected :formatted_best_offers_offer_url def hash_for_best_offers_home_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offers", :use_route=>:best_offers_home, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_home_path def best_offers_home_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_home_path(__extract_options__(args, []))) end # protected :best_offers_home_path def hash_for_best_offers_offer_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offers", :use_route=>:best_offers_offer, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_path def best_offers_offer_path(*args) url_for(hash_for_best_offers_offer_path(__extract_options__(args, [:id]))) end # protected :best_offers_offer_path def hash_for_best_offers_offer_visits_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offer_visits", :use_route=>:best_offers_offer_visits, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_visits_path def best_offers_offer_visits_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/visits" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/visits#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_best_offers_offer_visits_path(__extract_options__(args, [:offer_id]))) end # protected :best_offers_offer_visits_path def hash_for_new_best_offers_offer_recommendation_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offer_recommendations", :use_route=>:new_best_offers_offer_recommendation, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_best_offers_offer_recommendation_path def new_best_offers_offer_recommendation_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/recommendations/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/recommendations/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_best_offers_offer_recommendation_path(__extract_options__(args, [:offer_id]))) end # protected :new_best_offers_offer_recommendation_path def hash_for_external_register_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_register, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_register_url def external_register_url(*args) url_for(hash_for_external_register_url(__extract_options__(args, []))) end # protected :external_register_url def hash_for_best_offers_public_offers_index_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offers", :use_route=>:best_offers_public_offers_index, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_public_offers_index_path def best_offers_public_offers_index_path(*args) url_for(hash_for_best_offers_public_offers_index_path(__extract_options__(args, [:country, :id, :partner]))) end # protected :best_offers_public_offers_index_path def hash_for_best_offers_public_offer_show_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/offers", :use_route=>:best_offers_public_offer_show, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_public_offer_show_path def best_offers_public_offer_show_path(*args) url_for(hash_for_best_offers_public_offer_show_path(__extract_options__(args, [:country, :id, :partner]))) end # protected :best_offers_public_offer_show_path def hash_for_external_upsell_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_upsell, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_upsell_url def external_upsell_url(*args) url_for(hash_for_external_upsell_url(__extract_options__(args, []))) end # protected :external_upsell_url def hash_for_external_register_from_bestoffer_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_register_from_bestoffer, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_register_from_bestoffer_url def external_register_from_bestoffer_url(*args) url_for(hash_for_external_register_from_bestoffer_url(__extract_options__(args, [:offer_id, :partner_name]))) end # protected :external_register_from_bestoffer_url def hash_for_external_authenticate_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_authenticate, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_authenticate_path def external_authenticate_path(*args) url_for(hash_for_external_authenticate_path(__extract_options__(args, []))) end # protected :external_authenticate_path def hash_for_external_lost_password_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_lost_password, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_lost_password_url def external_lost_password_url(*args) url_for(hash_for_external_lost_password_url(__extract_options__(args, []))) end # protected :external_lost_password_url def hash_for_external_privacy_settings_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_privacy_settings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_privacy_settings_url def external_privacy_settings_url(*args) url_for(hash_for_external_privacy_settings_url(__extract_options__(args, []))) end # protected :external_privacy_settings_url def hash_for_best_offers_offer_visits_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offer_visits", :use_route=>:best_offers_offer_visits, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_visits_url def best_offers_offer_visits_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/visits" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/visits#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_best_offers_offer_visits_url(__extract_options__(args, [:offer_id]))) end # protected :best_offers_offer_visits_url def hash_for_best_offers_offer_recommendations_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offer_recommendations", :use_route=>:best_offers_offer_recommendations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_recommendations_url def best_offers_offer_recommendations_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/recommendations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/recommendations#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_best_offers_offer_recommendations_url(__extract_options__(args, [:offer_id]))) end # protected :best_offers_offer_recommendations_url def hash_for_best_offers_offer_feedback_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offer_feedback", :use_route=>:best_offers_offer_feedback, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_offer_feedback_url def best_offers_offer_feedback_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/feedback" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/offers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/feedback#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_best_offers_offer_feedback_url(__extract_options__(args, [:offer_id]))) end # protected :best_offers_offer_feedback_url def hash_for_best_offers_partner_enquiries_path(options = nil) opts = {:only_path=>true, :controller=>"best_offers/partner_enquiries", :use_route=>:best_offers_partner_enquiries, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_partner_enquiries_path def best_offers_partner_enquiries_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/bestoffers/partner_enquiries" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_best_offers_partner_enquiries_path(__extract_options__(args, []))) end # protected :best_offers_partner_enquiries_path def hash_for_best_offers_sitemap_url(options = nil) opts = {:only_path=>false, :format=>"xml", :method=>:get, :controller=>"best_offers/sitemap", :use_route=>:best_offers_sitemap, :action=>"sitemap"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_sitemap_url def best_offers_sitemap_url(*args) url_for(hash_for_best_offers_sitemap_url(__extract_options__(args, [:nr]))) end # protected :best_offers_sitemap_url def hash_for_best_offers_public_offer_show_url(options = nil) opts = {:only_path=>false, :controller=>"best_offers/offers", :use_route=>:best_offers_public_offer_show, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_best_offers_public_offer_show_url def best_offers_public_offer_show_url(*args) url_for(hash_for_best_offers_public_offer_show_url(__extract_options__(args, [:country, :id, :partner]))) end # protected :best_offers_public_offer_show_url def hash_for_corporation_search_path(options = nil) opts = {:only_path=>true, :controller=>"corporate_pages/search", :use_route=>:corporation_search, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_corporation_search_path def corporation_search_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/companies/search" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_corporation_search_path(__extract_options__(args, []))) end # protected :corporation_search_path def hash_for_corporations_path(options = nil) opts = {:only_path=>true, :controller=>"corporate_pages/corporations", :use_route=>:corporations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_corporations_path def corporations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/companies" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_corporations_path(__extract_options__(args, []))) end # protected :corporations_path def hash_for_corporation_goto_url(options = nil) opts = {:only_path=>false, :controller=>"corporate_pages/corporations", :use_route=>:corporation_goto, :action=>"goto"} options ? opts.merge(options) : opts end # protected :hash_for_corporation_goto_url def corporation_goto_url(*args) url_for(hash_for_corporation_goto_url(__extract_options__(args, [:url]))) end # protected :corporation_goto_url def hash_for_corporation_path(options = nil) opts = {:only_path=>true, :controller=>"corporate_pages/corporations", :use_route=>:corporation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_corporation_path def corporation_path(*args) url_for(hash_for_corporation_path(__extract_options__(args, [:id]))) end # protected :corporation_path def hash_for_corporation_show_with_subsection_path(options = nil) opts = {:only_path=>true, :controller=>"corporate_pages/corporations", :use_route=>:corporation_show_with_subsection, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_corporation_show_with_subsection_path def corporation_show_with_subsection_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/companies/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/companies/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_corporation_show_with_subsection_path(__extract_options__(args, [:id, :subsection]))) end # protected :corporation_show_with_subsection_path def hash_for_external_profile_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_profile, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_profile_path def external_profile_path(*args) url_for(hash_for_external_profile_path(__extract_options__(args, [:page_name, :matchref]))) end # protected :external_profile_path def hash_for_marketplace_search_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/search", :use_route=>:marketplace_search, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_search_path def marketplace_search_path(*args) url_for(hash_for_marketplace_search_path(__extract_options__(args, [:action]))) end # protected :marketplace_search_path def hash_for_events_company_events_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:events_company_events, :action=>"company_events"} options ? opts.merge(options) : opts end # protected :hash_for_events_company_events_path def events_company_events_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/company_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/company_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_events_company_events_path(__extract_options__(args, [:tag]))) end # protected :events_company_events_path def hash_for_external_search_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_search, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_search_path def external_search_path(*args) url_for(hash_for_external_search_path(__extract_options__(args, []))) end # protected :external_search_path def hash_for_external_upsell_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_upsell, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_upsell_path def external_upsell_path(*args) url_for(hash_for_external_upsell_path(__extract_options__(args, []))) end # protected :external_upsell_path def hash_for_events_admin_event_cancellation_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/admin/cancellation_message", :use_route=>:events_admin_event_cancellation_message, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_events_admin_event_cancellation_message_path def events_admin_event_cancellation_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_events_admin_event_cancellation_message_path(__extract_options__(args, [:event_id]))) end # protected :events_admin_event_cancellation_message_path def hash_for_events_admin_events_path(options = nil) opts = {:only_path=>true, :controller=>"events/admin/events", :use_route=>:events_admin_events, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_admin_events_path def events_admin_events_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin/events" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_admin_events_path(__extract_options__(args, []))) end # protected :events_admin_events_path def hash_for_events_admin_home_url(options = nil) opts = {:only_path=>false, :controller=>"events/admin/events", :use_route=>:events_admin_home, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_admin_home_url def events_admin_home_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_admin_home_url(__extract_options__(args, []))) end # protected :events_admin_home_url def hash_for_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:event, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_path def event_path(*args) url_for(hash_for_event_path(__extract_options__(args, [:id]))) end # protected :event_path def hash_for_new_events_admin_event_cancellation_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/admin/cancellation_message", :use_route=>:new_events_admin_event_cancellation_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_events_admin_event_cancellation_message_path def new_events_admin_event_cancellation_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/admin/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_events_admin_event_cancellation_message_path(__extract_options__(args, [:event_id]))) end # protected :new_events_admin_event_cancellation_message_path def hash_for_event_cancellation_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/cancellation_message", :use_route=>:event_cancellation_message, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_cancellation_message_path def event_cancellation_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_cancellation_message_path(__extract_options__(args, [:event_id]))) end # protected :event_cancellation_message_path def hash_for_events_url(options = nil) opts = {:only_path=>false, :controller=>"events/events", :use_route=>:events, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_url def events_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_url(__extract_options__(args, []))) end # protected :events_url def hash_for_events_my_events_url(options = nil) opts = {:only_path=>false, :time=>"upcoming", :controller=>"events/my_events", :use_route=>:events_my_events, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_my_events_url def events_my_events_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/my_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/my_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_events_my_events_url(__extract_options__(args, [:time]))) end # protected :events_my_events_url def hash_for_events_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:events, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_path def events_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_path(__extract_options__(args, []))) end # protected :events_path def hash_for_event_description_path(options = nil) opts = {:only_path=>true, :controller=>"events/descriptions", :use_route=>:event_description, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_description_path def event_description_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_description_path(__extract_options__(args, [:event_id]))) end # protected :event_description_path def hash_for_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:event_guestlist, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_guestlist_path def event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :event_guestlist_path def hash_for_edit_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:edit_event, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_event_path def edit_event_path(*args) url_for(hash_for_edit_event_path(__extract_options__(args, [:id]))) end # protected :edit_event_path def hash_for_new_event_reschedulings_path(options = nil) opts = {:only_path=>true, :controller=>"events/event_reschedulings", :use_route=>:new_event_reschedulings, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_reschedulings_path def new_event_reschedulings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reschedulings/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reschedulings/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_reschedulings_path(__extract_options__(args, [:event_id]))) end # protected :new_event_reschedulings_path def hash_for_edit_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:edit_event_guestlist, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_event_guestlist_path def edit_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/edit" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/edit#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_edit_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :edit_event_guestlist_path def hash_for_new_event_guestlist_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist_messages", :use_route=>:new_event_guestlist_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_guestlist_message_path def new_event_guestlist_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist_messages/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist_messages/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_guestlist_message_path(__extract_options__(args, [:event_id]))) end # protected :new_event_guestlist_message_path def hash_for_new_event_cancellation_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/cancellation_message", :use_route=>:new_event_cancellation_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_cancellation_message_path def new_event_cancellation_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/cancellation_message/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_cancellation_message_path(__extract_options__(args, [:event_id]))) end # protected :new_event_cancellation_message_path def hash_for_formatted_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:formatted_event_guestlist, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_formatted_event_guestlist_path def formatted_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist.#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist.#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_formatted_event_guestlist_path(__extract_options__(args, [:event_id, :format]))) end # protected :formatted_event_guestlist_path def hash_for_set_user_participant_count_box_setting_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:set_user_participant_count_box_setting_event, :action=>"set_user_participant_count_box_setting"} options ? opts.merge(options) : opts end # protected :hash_for_set_user_participant_count_box_setting_event_path def set_user_participant_count_box_setting_event_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/set_user_participant_count_box_setting" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/set_user_participant_count_box_setting#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_set_user_participant_count_box_setting_event_path(__extract_options__(args, [:id]))) end # protected :set_user_participant_count_box_setting_event_path def hash_for_formatted_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:formatted_event, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_formatted_event_path def formatted_event_path(*args) url_for(hash_for_formatted_event_path(__extract_options__(args, [:id, :format]))) end # protected :formatted_event_path def hash_for_event_url(options = nil) opts = {:only_path=>false, :controller=>"events/events", :use_route=>:event, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_url def event_url(*args) url_for(hash_for_event_url(__extract_options__(args, [:id]))) end # protected :event_url def hash_for_event_via_email_invitation_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:event_via_email_invitation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_via_email_invitation_path def event_via_email_invitation_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 4 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_via_email_invitation_path(__extract_options__(args, [:id, :invitation_id, :invitation_token]))) end # protected :event_via_email_invitation_path def hash_for_event_description_via_email_invitation_path(options = nil) opts = {:only_path=>true, :controller=>"events/descriptions", :use_route=>:event_description_via_email_invitation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_description_via_email_invitation_path def event_description_via_email_invitation_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 4 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_description_via_email_invitation_path(__extract_options__(args, [:event_id, :invitation_id, :invitation_token]))) end # protected :event_description_via_email_invitation_path def hash_for_formatted_event_via_email_invitation_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:formatted_event_via_email_invitation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_formatted_event_via_email_invitation_path def formatted_event_via_email_invitation_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}.#{URI.escape(args[3].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 4 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}.#{URI.escape(args[3].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 5 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_formatted_event_via_email_invitation_path(__extract_options__(args, [:id, :invitation_id, :invitation_token, :format]))) end # protected :formatted_event_via_email_invitation_path def hash_for_event_via_email_invitation_url(options = nil) opts = {:only_path=>false, :controller=>"events/events", :use_route=>:event_via_email_invitation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_via_email_invitation_url def event_via_email_invitation_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/#{URI.escape(args[2].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 4 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_via_email_invitation_url(__extract_options__(args, [:id, :invitation_id, :invitation_token]))) end # protected :event_via_email_invitation_url def hash_for_event_description_url(options = nil) opts = {:only_path=>false, :controller=>"events/descriptions", :use_route=>:event_description, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_description_url def event_description_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/description#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_description_url(__extract_options__(args, [:event_id]))) end # protected :event_description_url def hash_for_event_invitation_disinvite_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/disinvite_message", :use_route=>:event_invitation_disinvite_message, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_invitation_disinvite_message_path def event_invitation_disinvite_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/disinvite_message" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/disinvite_message#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_invitation_disinvite_message_path(__extract_options__(args, [:event_id, :invitation_id]))) end # protected :event_invitation_disinvite_message_path def hash_for_event_guestlist_url(options = nil) opts = {:only_path=>false, :controller=>"events/guestlist", :use_route=>:event_guestlist, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_guestlist_url def event_guestlist_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_guestlist_url(__extract_options__(args, [:event_id]))) end # protected :event_guestlist_url def hash_for_event_reschedulings_path(options = nil) opts = {:only_path=>true, :controller=>"events/event_reschedulings", :use_route=>:event_reschedulings, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_event_reschedulings_path def event_reschedulings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reschedulings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reschedulings#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_reschedulings_path(__extract_options__(args, [:event_id]))) end # protected :event_reschedulings_path def hash_for_participate_from_private_msg_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:participate_from_private_msg_event, :action=>"participate_from_private_msg"} options ? opts.merge(options) : opts end # protected :hash_for_participate_from_private_msg_event_path def participate_from_private_msg_event_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/participate_from_private_msg" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/participate_from_private_msg#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_participate_from_private_msg_event_path(__extract_options__(args, [:id]))) end # protected :participate_from_private_msg_event_path def hash_for_events_header_slider_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:events_header_slider, :action=>"header_slider"} options ? opts.merge(options) : opts end # protected :hash_for_events_header_slider_path def events_header_slider_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/header_slider" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_header_slider_path(__extract_options__(args, []))) end # protected :events_header_slider_path def hash_for_new_event_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:new_event, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_path def new_event_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_event_path(__extract_options__(args, []))) end # protected :new_event_path def hash_for_events_search_index_path(options = nil) opts = {:only_path=>true, :controller=>"events/search", :use_route=>:events_search_index, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_search_index_path def events_search_index_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/search" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_events_search_index_path(__extract_options__(args, []))) end # protected :events_search_index_path def hash_for_all_events_my_contacts_go_to_box_events_path(options = nil) opts = {:only_path=>true, :controller=>"events/events", :use_route=>:all_events_my_contacts_go_to_box_events, :action=>"all_events_my_contacts_go_to_box"} options ? opts.merge(options) : opts end # protected :hash_for_all_events_my_contacts_go_to_box_events_path def all_events_my_contacts_go_to_box_events_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/all_events_my_contacts_go_to_box" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_all_events_my_contacts_go_to_box_events_path(__extract_options__(args, []))) end # protected :all_events_my_contacts_go_to_box_events_path def hash_for_all_official_events_events_url(options = nil) opts = {:only_path=>false, :controller=>"events/events", :use_route=>:all_official_events_events, :action=>"all_official_events"} options ? opts.merge(options) : opts end # protected :hash_for_all_official_events_events_url def all_official_events_events_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/all_official_events" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_all_official_events_events_url(__extract_options__(args, []))) end # protected :all_official_events_events_url def hash_for_edit_event_guestlist_url(options = nil) opts = {:only_path=>false, :controller=>"events/guestlist", :use_route=>:edit_event_guestlist, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_event_guestlist_url def edit_event_guestlist_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/edit" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/edit#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_edit_event_guestlist_url(__extract_options__(args, [:event_id]))) end # protected :edit_event_guestlist_url def hash_for_event_invitations_path(options = nil) opts = {:only_path=>true, :controller=>"events/invitations", :use_route=>:event_invitations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_event_invitations_path def event_invitations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_invitations_path(__extract_options__(args, [:event_id]))) end # protected :event_invitations_path def hash_for_external_group_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_group, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_group_url def external_group_url(*args) url_for(hash_for_external_group_url(__extract_options__(args, [:page_name]))) end # protected :external_group_url def hash_for_external_group_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_group, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_group_path def external_group_path(*args) url_for(hash_for_external_group_path(__extract_options__(args, [:page_name]))) end # protected :external_group_path def hash_for_event_invitation_path(options = nil) opts = {:only_path=>true, :controller=>"events/invitations", :use_route=>:event_invitation, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_event_invitation_path def event_invitation_path(*args) url_for(hash_for_event_invitation_path(__extract_options__(args, [:event_id, :id]))) end # protected :event_invitation_path def hash_for_new_event_modification_message_url(options = nil) opts = {:only_path=>false, :controller=>"events/modification_messages", :use_route=>:new_event_modification_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_modification_message_url def new_event_modification_message_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_modification_message_url(__extract_options__(args, [:event_id]))) end # protected :new_event_modification_message_url def hash_for_new_event_modification_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/modification_messages", :use_route=>:new_event_modification_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_modification_message_path def new_event_modification_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_modification_message_path(__extract_options__(args, [:event_id]))) end # protected :new_event_modification_message_path def hash_for_external_send_private_message_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_send_private_message, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_send_private_message_path def external_send_private_message_path(*args) url_for(hash_for_external_send_private_message_path(__extract_options__(args, []))) end # protected :external_send_private_message_path def hash_for_new_event_invitation_disinvite_message_path(options = nil) opts = {:only_path=>true, :controller=>"events/disinvite_message", :use_route=>:new_event_invitation_disinvite_message, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_event_invitation_disinvite_message_path def new_event_invitation_disinvite_message_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/disinvite_message/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/invitations/#{URI.escape(args[1].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/disinvite_message/new#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 3 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_new_event_invitation_disinvite_message_path(__extract_options__(args, [:event_id, :invitation_id]))) end # protected :new_event_invitation_disinvite_message_path def hash_for_participation_update_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:participation_update_event_guestlist, :action=>"participation_update"} options ? opts.merge(options) : opts end # protected :hash_for_participation_update_event_guestlist_path def participation_update_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/participation_update" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/participation_update#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_participation_update_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :participation_update_event_guestlist_path def hash_for_set_user_guestlist_filter_box_setting_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:set_user_guestlist_filter_box_setting_event_guestlist, :action=>"set_user_guestlist_filter_box_setting"} options ? opts.merge(options) : opts end # protected :hash_for_set_user_guestlist_filter_box_setting_event_guestlist_path def set_user_guestlist_filter_box_setting_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/set_user_guestlist_filter_box_setting" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/set_user_guestlist_filter_box_setting#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_set_user_guestlist_filter_box_setting_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :set_user_guestlist_filter_box_setting_event_guestlist_path def hash_for_load_tag_counts_for_group_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:load_tag_counts_for_group_event_guestlist, :action=>"load_tag_counts_for_group"} options ? opts.merge(options) : opts end # protected :hash_for_load_tag_counts_for_group_event_guestlist_path def load_tag_counts_for_group_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_tag_counts_for_group" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_tag_counts_for_group#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_load_tag_counts_for_group_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :load_tag_counts_for_group_event_guestlist_path def hash_for_load_contacts_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:load_contacts_event_guestlist, :action=>"load_contacts"} options ? opts.merge(options) : opts end # protected :hash_for_load_contacts_event_guestlist_path def load_contacts_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_contacts" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_contacts#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_load_contacts_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :load_contacts_event_guestlist_path def hash_for_load_tag_counts_for_contacts_event_guestlist_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist", :use_route=>:load_tag_counts_for_contacts_event_guestlist, :action=>"load_tag_counts_for_contacts"} options ? opts.merge(options) : opts end # protected :hash_for_load_tag_counts_for_contacts_event_guestlist_path def load_tag_counts_for_contacts_event_guestlist_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_tag_counts_for_contacts" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist/load_tag_counts_for_contacts#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_load_tag_counts_for_contacts_event_guestlist_path(__extract_options__(args, [:event_id]))) end # protected :load_tag_counts_for_contacts_event_guestlist_path def hash_for_external_profile_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_profile, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_profile_url def external_profile_url(*args) url_for(hash_for_external_profile_url(__extract_options__(args, [:page_name, :matchref]))) end # protected :external_profile_url def hash_for_event_guestlist_messages_path(options = nil) opts = {:only_path=>true, :controller=>"events/guestlist_messages", :use_route=>:event_guestlist_messages, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_event_guestlist_messages_path def event_guestlist_messages_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist_messages" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/guestlist_messages#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_guestlist_messages_path(__extract_options__(args, [:event_id]))) end # protected :event_guestlist_messages_path def hash_for_event_modification_messages_path(options = nil) opts = {:only_path=>true, :controller=>"events/modification_messages", :use_route=>:event_modification_messages, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_event_modification_messages_path def event_modification_messages_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/modification_messages#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_event_modification_messages_path(__extract_options__(args, [:event_id]))) end # protected :event_modification_messages_path def hash_for_events_my_events_path(options = nil) opts = {:only_path=>true, :time=>"upcoming", :controller=>"events/my_events", :use_route=>:events_my_events, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_events_my_events_path def events_my_events_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/my_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/events/my_events/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_events_my_events_path(__extract_options__(args, [:time]))) end # protected :events_my_events_path def hash_for_events_sitemap_url(options = nil) opts = {:only_path=>false, :format=>"xml", :controller=>"events/sitemap", :use_route=>:events_sitemap, :action=>"sitemap"} options ? opts.merge(options) : opts end # protected :hash_for_events_sitemap_url def events_sitemap_url(*args) url_for(hash_for_events_sitemap_url(__extract_options__(args, [:nr]))) end # protected :events_sitemap_url def hash_for_marketplace_info_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/infos", :use_route=>:marketplace_info, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_info_path def marketplace_info_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/info" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_info_path(__extract_options__(args, []))) end # protected :marketplace_info_path def hash_for_external_marketplace_edit_account_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_marketplace_edit_account, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_marketplace_edit_account_path def external_marketplace_edit_account_path(*args) url_for(hash_for_external_marketplace_edit_account_path(__extract_options__(args, []))) end # protected :external_marketplace_edit_account_path def hash_for_marketplace_account_view_limit_changes_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/account_view_limit_changes", :use_route=>:marketplace_account_view_limit_changes, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_account_view_limit_changes_path def marketplace_account_view_limit_changes_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/account_balance/view_limit_changes" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_account_view_limit_changes_path(__extract_options__(args, []))) end # protected :marketplace_account_view_limit_changes_path def hash_for_marketplace_my_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/my_postings", :use_route=>:marketplace_my_postings, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_my_postings_path def marketplace_my_postings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/my_postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_my_postings_path(__extract_options__(args, []))) end # protected :marketplace_my_postings_path def hash_for_marketplace_account_balance_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/account_balances", :use_route=>:marketplace_account_balance, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_account_balance_path def marketplace_account_balance_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/account_balance" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_account_balance_path(__extract_options__(args, []))) end # protected :marketplace_account_balance_path def hash_for_external_marketplace_invoices_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_marketplace_invoices, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_marketplace_invoices_url def external_marketplace_invoices_url(*args) url_for(hash_for_external_marketplace_invoices_url(__extract_options__(args, []))) end # protected :external_marketplace_invoices_url def hash_for_marketplace_posting_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:marketplace_posting, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_path def marketplace_posting_path(*args) url_for(hash_for_marketplace_posting_path(__extract_options__(args, [:id]))) end # protected :marketplace_posting_path def hash_for_marketplace_admin_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/admin", :use_route=>:marketplace_admin, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_path def marketplace_admin_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_admin_path(__extract_options__(args, []))) end # protected :marketplace_admin_path def hash_for_marketplace_admin_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/postings", :use_route=>:marketplace_admin_postings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_postings_path def marketplace_admin_postings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_admin_postings_path(__extract_options__(args, []))) end # protected :marketplace_admin_postings_path def hash_for_marketplace_admin_users_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/users", :use_route=>:marketplace_admin_users, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_users_path def marketplace_admin_users_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/users" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_admin_users_path(__extract_options__(args, []))) end # protected :marketplace_admin_users_path def hash_for_marketplace_admin_matrix_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/matrices", :use_route=>:marketplace_admin_matrix, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_matrix_path def marketplace_admin_matrix_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/matrix" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_admin_matrix_path(__extract_options__(args, []))) end # protected :marketplace_admin_matrix_path def hash_for_marketplace_admin_statistics_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/statistics", :use_route=>:marketplace_admin_statistics, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_statistics_path def marketplace_admin_statistics_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/statistics" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_admin_statistics_path(__extract_options__(args, []))) end # protected :marketplace_admin_statistics_path def hash_for_formatted_marketplace_admin_postings_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/admin/postings", :use_route=>:formatted_marketplace_admin_postings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_formatted_marketplace_admin_postings_url def formatted_marketplace_admin_postings_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/postings.#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/postings.#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_formatted_marketplace_admin_postings_url(__extract_options__(args, [:format]))) end # protected :formatted_marketplace_admin_postings_url def hash_for_marketplace_admin_user_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/users", :use_route=>:marketplace_admin_user, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_user_path def marketplace_admin_user_path(*args) url_for(hash_for_marketplace_admin_user_path(__extract_options__(args, [:id]))) end # protected :marketplace_admin_user_path def hash_for_marketplace_admin_posting_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/postings", :use_route=>:marketplace_admin_posting, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_posting_path def marketplace_admin_posting_path(*args) url_for(hash_for_marketplace_admin_posting_path(__extract_options__(args, [:id]))) end # protected :marketplace_admin_posting_path def hash_for_external_administration_url(options = nil) opts = {:protocol=>"https", :only_path=>false, :controller=>"", :host=>"admin.xing.com", :use_route=>:external_administration, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_administration_url def external_administration_url(*args) url_for(hash_for_external_administration_url(__extract_options__(args, []))) end # protected :external_administration_url def hash_for_external_mp_billing_administration_url(options = nil) opts = {:protocol=>"https", :only_path=>false, :controller=>"", :host=>"admin.xing.com", :use_route=>:external_mp_billing_administration, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_mp_billing_administration_url def external_mp_billing_administration_url(*args) url_for(hash_for_external_mp_billing_administration_url(__extract_options__(args, []))) end # protected :external_mp_billing_administration_url def hash_for_marketplace_admin_user_free_views_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/free_views", :use_route=>:marketplace_admin_user_free_views, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_user_free_views_path def marketplace_admin_user_free_views_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/users/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/free_views" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/users/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/free_views#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_admin_user_free_views_path(__extract_options__(args, [:user_id]))) end # protected :marketplace_admin_user_free_views_path def hash_for_marketplace_admin_memo_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/admin/memos", :use_route=>:marketplace_admin_memo, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_memo_path def marketplace_admin_memo_path(*args) url_for(hash_for_marketplace_admin_memo_path(__extract_options__(args, [:id]))) end # protected :marketplace_admin_memo_path def hash_for_marketplace_admin_user_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/admin/users", :use_route=>:marketplace_admin_user, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_user_url def marketplace_admin_user_url(*args) url_for(hash_for_marketplace_admin_user_url(__extract_options__(args, [:id]))) end # protected :marketplace_admin_user_url def hash_for_marketplace_admin_user_rated_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/users", :use_route=>:marketplace_admin_user_rated_postings, :action=>"rated_postings"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_admin_user_rated_postings_path def marketplace_admin_user_rated_postings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/admin/users/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/rated_postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/admin/admin/users/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/rated_postings#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_admin_user_rated_postings_path(__extract_options__(args, [:id]))) end # protected :marketplace_admin_user_rated_postings_path def hash_for_marketplace_postings_show_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/postings", :use_route=>:marketplace_postings_show, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_show_url def marketplace_postings_show_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/show/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/show/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_show_url(__extract_options__(args, [:id]))) end # protected :marketplace_postings_show_url def hash_for_marketplace_postings_create_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/postings", :use_route=>:marketplace_postings_create, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_create_url def marketplace_postings_create_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/create/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/create/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_create_url(__extract_options__(args, [:id]))) end # protected :marketplace_postings_create_url def hash_for_external_user_operations_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_user_operations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_user_operations_path def external_user_operations_path(*args) url_for(hash_for_external_user_operations_path(__extract_options__(args, []))) end # protected :external_user_operations_path def hash_for_external_marketplace_employers_faq_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_marketplace_employers_faq, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_marketplace_employers_faq_path def external_marketplace_employers_faq_path(*args) url_for(hash_for_external_marketplace_employers_faq_path(__extract_options__(args, []))) end # protected :external_marketplace_employers_faq_path def hash_for_marketplace_jobtv24_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/jobtv24", :use_route=>:marketplace_jobtv24, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_jobtv24_path def marketplace_jobtv24_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/jobtv24" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_jobtv24_path(__extract_options__(args, []))) end # protected :marketplace_jobtv24_path def hash_for_contact_marketplace_jobtv24_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/jobtv24", :use_route=>:contact_marketplace_jobtv24, :action=>"contact"} options ? opts.merge(options) : opts end # protected :hash_for_contact_marketplace_jobtv24_url def contact_marketplace_jobtv24_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/jobtv24/contact" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_contact_marketplace_jobtv24_url(__extract_options__(args, []))) end # protected :contact_marketplace_jobtv24_url def hash_for_marketplace_jobtv24_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/jobtv24", :use_route=>:marketplace_jobtv24, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_jobtv24_url def marketplace_jobtv24_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/jobtv24" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_jobtv24_url(__extract_options__(args, []))) end # protected :marketplace_jobtv24_url def hash_for_marketplace_postings_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/postings", :use_route=>:marketplace_postings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_url def marketplace_postings_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_postings_url(__extract_options__(args, []))) end # protected :marketplace_postings_url def hash_for_marketplace_postings_activations_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_activations", :use_route=>:marketplace_postings_activations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_activations_path def marketplace_postings_activations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/activations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/activations#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_activations_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_activations_path def hash_for_marketplace_posting_deactivations_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_deactivations", :use_route=>:marketplace_posting_deactivations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_deactivations_path def marketplace_posting_deactivations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_deactivations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_deactivations_path(__extract_options__(args, []))) end # protected :marketplace_posting_deactivations_path def hash_for_marketplace_posting_archivings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_archivings", :use_route=>:marketplace_posting_archivings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_archivings_path def marketplace_posting_archivings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_archivings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_archivings_path(__extract_options__(args, []))) end # protected :marketplace_posting_archivings_path def hash_for_marketplace_posting_activations_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_activations", :use_route=>:marketplace_posting_activations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_activations_path def marketplace_posting_activations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_activations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_activations_path(__extract_options__(args, []))) end # protected :marketplace_posting_activations_path def hash_for_marketplace_posting_deletions_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_deletions", :use_route=>:marketplace_posting_deletions, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_deletions_path def marketplace_posting_deletions_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_deletions" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_deletions_path(__extract_options__(args, []))) end # protected :marketplace_posting_deletions_path def hash_for_marketplace_postings_view_limit_changes_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_view_limit_changes", :use_route=>:marketplace_postings_view_limit_changes, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_view_limit_changes_path def marketplace_postings_view_limit_changes_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/view_limit_changes" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/view_limit_changes#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_view_limit_changes_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_view_limit_changes_path def hash_for_marketplace_postings_create_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:marketplace_postings_create, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_create_path def marketplace_postings_create_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/create/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/create/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_create_path(__extract_options__(args, [:id]))) end # protected :marketplace_postings_create_path def hash_for_edit_marketplace_posting_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:edit_marketplace_posting, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_marketplace_posting_path def edit_marketplace_posting_path(*args) url_for(hash_for_edit_marketplace_posting_path(__extract_options__(args, [:id]))) end # protected :edit_marketplace_posting_path def hash_for_marketplace_postings_archivings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_archivings", :use_route=>:marketplace_postings_archivings, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_archivings_path def marketplace_postings_archivings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/archivings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/archivings#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_archivings_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_archivings_path def hash_for_marketplace_postings_lightboxes_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/lightboxes", :use_route=>:marketplace_postings_lightboxes, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_lightboxes_path def marketplace_postings_lightboxes_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/lightboxes" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/lightboxes#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_lightboxes_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_lightboxes_path def hash_for_marketplace_postings_deactivations_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_deactivations", :use_route=>:marketplace_postings_deactivations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_deactivations_path def marketplace_postings_deactivations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/deactivations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/deactivations#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_deactivations_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_deactivations_path def hash_for_marketplace_lightbox_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/lightboxes", :use_route=>:marketplace_lightbox, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_lightbox_path def marketplace_lightbox_path(*args) url_for(hash_for_marketplace_lightbox_path(__extract_options__(args, [:id]))) end # protected :marketplace_lightbox_path def hash_for_show_archived_postings_marketplace_my_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/my_postings", :use_route=>:show_archived_postings_marketplace_my_postings, :action=>"show_archived_postings"} options ? opts.merge(options) : opts end # protected :hash_for_show_archived_postings_marketplace_my_postings_path def show_archived_postings_marketplace_my_postings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/my_postings/show_archived_postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_show_archived_postings_marketplace_my_postings_path(__extract_options__(args, []))) end # protected :show_archived_postings_marketplace_my_postings_path def hash_for_marketplace_postings_deletions_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_deletions", :use_route=>:marketplace_postings_deletions, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_deletions_path def marketplace_postings_deletions_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/deletions" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/deletions#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_deletions_path(__extract_options__(args, [:posting_id]))) end # protected :marketplace_postings_deletions_path def hash_for_external_error_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_error, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_error_url def external_error_url(*args) url_for(hash_for_external_error_url(__extract_options__(args, []))) end # protected :external_error_url def hash_for_marketplace_postings_show_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:marketplace_postings_show, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_postings_show_path def marketplace_postings_show_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/show/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/show/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_postings_show_path(__extract_options__(args, [:id]))) end # protected :marketplace_postings_show_path def hash_for_marketplace_unrated_recommendations_path(options = nil) opts = {:only_path=>true, :only_unrated=>true, :controller=>"marketplace/posting_recommendations", :use_route=>:marketplace_unrated_recommendations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_unrated_recommendations_path def marketplace_unrated_recommendations_path(*args) url_for(hash_for_marketplace_unrated_recommendations_path(__extract_options__(args, []))) end # protected :marketplace_unrated_recommendations_path def hash_for_marketplace_recommendations_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_recommendations", :use_route=>:marketplace_recommendations, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_recommendations_path def marketplace_recommendations_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_recommendations" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_recommendations_path(__extract_options__(args, []))) end # protected :marketplace_recommendations_path def hash_for_marketplace_posting_rating_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_ratings", :use_route=>:marketplace_posting_rating, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_rating_path def marketplace_posting_rating_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_rating" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_rating_path(__extract_options__(args, []))) end # protected :marketplace_posting_rating_path def hash_for_marketplace_active_rated_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_recommendations", :use_route=>:marketplace_active_rated_postings, :only_active=>true, :action=>"rated_postings"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_active_rated_postings_path def marketplace_active_rated_postings_path(*args) url_for(hash_for_marketplace_active_rated_postings_path(__extract_options__(args, []))) end # protected :marketplace_active_rated_postings_path def hash_for_marketplace_rated_postings_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_recommendations", :use_route=>:marketplace_rated_postings, :action=>"rated_postings"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_rated_postings_path def marketplace_rated_postings_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_recommendations/rated_postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_rated_postings_path(__extract_options__(args, []))) end # protected :marketplace_rated_postings_path def hash_for_marketplace_posting_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/postings", :use_route=>:marketplace_posting, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_url def marketplace_posting_url(*args) url_for(hash_for_marketplace_posting_url(__extract_options__(args, [:id]))) end # protected :marketplace_posting_url def hash_for_marketplace_posting_replies_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_replies", :use_route=>:marketplace_posting_replies, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_replies_path def marketplace_posting_replies_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_replies" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_posting_replies_path(__extract_options__(args, []))) end # protected :marketplace_posting_replies_path def hash_for_external_terms_and_conditions_popup_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_terms_and_conditions_popup, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_terms_and_conditions_popup_url def external_terms_and_conditions_popup_url(*args) url_for(hash_for_external_terms_and_conditions_popup_url(__extract_options__(args, []))) end # protected :external_terms_and_conditions_popup_url def hash_for_marketplace_home_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:marketplace_home, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_home_path def marketplace_home_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_home_path(__extract_options__(args, []))) end # protected :marketplace_home_path def hash_for_external_search_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_search, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_search_url def external_search_url(*args) url_for(hash_for_external_search_url(__extract_options__(args, []))) end # protected :external_search_url def hash_for_marketplace_posting_reply_intention_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/posting_reply_intentions", :use_route=>:marketplace_posting_reply_intention, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_posting_reply_intention_url def marketplace_posting_reply_intention_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reply_intention" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/reply_intention#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_posting_reply_intention_url(__extract_options__(args, [:posting_id]))) end # protected :marketplace_posting_reply_intention_url def hash_for_new_marketplace_posting_replies_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/posting_replies", :use_route=>:new_marketplace_posting_replies, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_marketplace_posting_replies_url def new_marketplace_posting_replies_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_replies/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_marketplace_posting_replies_url(__extract_options__(args, []))) end # protected :new_marketplace_posting_replies_url def hash_for_marketplace_recommend_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/postings", :use_route=>:marketplace_recommend, :action=>"recommend"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_recommend_path def marketplace_recommend_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/recommend/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/postings/recommend/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_marketplace_recommend_path(__extract_options__(args, [:id]))) end # protected :marketplace_recommend_path def hash_for_external_inbox_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_inbox, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_inbox_url def external_inbox_url(*args) url_for(hash_for_external_inbox_url(__extract_options__(args, []))) end # protected :external_inbox_url def hash_for_marketplace_my_postings_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/my_postings", :use_route=>:marketplace_my_postings, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_my_postings_url def marketplace_my_postings_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/my_postings" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_my_postings_url(__extract_options__(args, []))) end # protected :marketplace_my_postings_url def hash_for_marketplace_search_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/search", :use_route=>:marketplace_search, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_search_url def marketplace_search_url(*args) url_for(hash_for_marketplace_search_url(__extract_options__(args, [:action]))) end # protected :marketplace_search_url def hash_for_marketplace_recommendation_display_setting_path(options = nil) opts = {:only_path=>true, :controller=>"marketplace/posting_recommendations", :use_route=>:marketplace_recommendation_display_setting, :action=>"set_number_of_recommendations_on_startpage"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_recommendation_display_setting_path def marketplace_recommendation_display_setting_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace/posting_recommendations/set_number_of_recommendations_on_startpage" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_recommendation_display_setting_path(__extract_options__(args, []))) end # protected :marketplace_recommendation_display_setting_path def hash_for_external_myprofile_url(options = nil) opts = {:only_path=>false, :controller=>"", :host=>"www.xing.com", :use_route=>:external_myprofile, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_myprofile_url def external_myprofile_url(*args) url_for(hash_for_external_myprofile_url(__extract_options__(args, []))) end # protected :external_myprofile_url def hash_for_marketplace_home_url(options = nil) opts = {:only_path=>false, :controller=>"marketplace/postings", :use_route=>:marketplace_home, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_home_url def marketplace_home_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/marketplace" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_marketplace_home_url(__extract_options__(args, []))) end # protected :marketplace_home_url def hash_for_marketplace_sitemap_url(options = nil) opts = {:only_path=>false, :format=>"xml", :controller=>"marketplace/sitemap", :use_route=>:marketplace_sitemap, :action=>"sitemap"} options ? opts.merge(options) : opts end # protected :hash_for_marketplace_sitemap_url def marketplace_sitemap_url(*args) url_for(hash_for_marketplace_sitemap_url(__extract_options__(args, [:nr]))) end # protected :marketplace_sitemap_url def hash_for_webservice_user_email_url(options = nil) opts = {:only_path=>false, :controller=>"webservice/emails", :use_route=>:webservice_user_email, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_webservice_user_email_url def webservice_user_email_url(*args) url_for(hash_for_webservice_user_email_url(__extract_options__(args, [:api_version, :user_id, :id]))) end # protected :webservice_user_email_url def hash_for_webservice_user_url(options = nil) opts = {:only_path=>false, :controller=>"webservice/users", :use_route=>:webservice_user, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_webservice_user_url def webservice_user_url(*args) url_for(hash_for_webservice_user_url(__extract_options__(args, [:api_version, :id]))) end # protected :webservice_user_url def hash_for_xws_admin_consumers_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/consumers", :use_route=>:xws_admin_consumers, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_consumers_path def xws_admin_consumers_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_admin_consumers_path(__extract_options__(args, []))) end # protected :xws_admin_consumers_path def hash_for_xws_admin_rights_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/rights", :use_route=>:xws_admin_rights, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_rights_path def xws_admin_rights_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/rights" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_admin_rights_path(__extract_options__(args, []))) end # protected :xws_admin_rights_path def hash_for_xws_admin_consumer_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/consumers", :use_route=>:xws_admin_consumer, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_consumer_path def xws_admin_consumer_path(*args) url_for(hash_for_xws_admin_consumer_path(__extract_options__(args, [:id]))) end # protected :xws_admin_consumer_path def hash_for_xws_admin_consumer_permissions_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/permissions", :use_route=>:xws_admin_consumer_permissions, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_consumer_permissions_path def xws_admin_consumer_permissions_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/permissions" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/permissions#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_xws_admin_consumer_permissions_path(__extract_options__(args, [:consumer_id]))) end # protected :xws_admin_consumer_permissions_path def hash_for_new_xws_admin_consumer_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/consumers", :use_route=>:new_xws_admin_consumer, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_xws_admin_consumer_path def new_xws_admin_consumer_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_xws_admin_consumer_path(__extract_options__(args, []))) end # protected :new_xws_admin_consumer_path def hash_for_xws_admin_consumers_url(options = nil) opts = {:only_path=>false, :controller=>"xws/admin/consumers", :use_route=>:xws_admin_consumers, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_consumers_url def xws_admin_consumers_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_admin_consumers_url(__extract_options__(args, []))) end # protected :xws_admin_consumers_url def hash_for_edit_xws_admin_consumer_permissions_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/permissions", :use_route=>:edit_xws_admin_consumer_permissions, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_xws_admin_consumer_permissions_path def edit_xws_admin_consumer_permissions_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/permissions/edit" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/consumers/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/permissions/edit#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_edit_xws_admin_consumer_permissions_path(__extract_options__(args, [:consumer_id]))) end # protected :edit_xws_admin_consumer_permissions_path def hash_for_consumers_xws_admin_right_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/rights", :use_route=>:consumers_xws_admin_right, :action=>"consumers"} options ? opts.merge(options) : opts end # protected :hash_for_consumers_xws_admin_right_path def consumers_xws_admin_right_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/rights/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/consumers" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 1 && !args.first.is_a?(Hash) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/rights/#{URI.escape(args[0].to_param.to_s, ActionController::Routing::Segment::UNSAFE_PCHAR)}/consumers#{'?' + args.last.to_query unless args.last.empty?}" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 2 && !args.last.has_key?(:anchor) && !args.last.has_key?(:params) && !args.last.has_key?(:only_path) && !args.last.has_key?(:host) && !args.last.has_key?(:protocol) && !args.last.has_key?(:port) && !args.last.has_key?(:trailing_slash) && !args.last.has_key?(:skip_relative_url_root) url_for(hash_for_consumers_xws_admin_right_path(__extract_options__(args, [:id]))) end # protected :consumers_xws_admin_right_path def hash_for_edit_xws_admin_right_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/rights", :use_route=>:edit_xws_admin_right, :action=>"edit"} options ? opts.merge(options) : opts end # protected :hash_for_edit_xws_admin_right_path def edit_xws_admin_right_path(*args) url_for(hash_for_edit_xws_admin_right_path(__extract_options__(args, [:id]))) end # protected :edit_xws_admin_right_path def hash_for_xws_admin_right_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/rights", :use_route=>:xws_admin_right, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_right_path def xws_admin_right_path(*args) url_for(hash_for_xws_admin_right_path(__extract_options__(args, [:id]))) end # protected :xws_admin_right_path def hash_for_new_xws_admin_right_path(options = nil) opts = {:only_path=>true, :controller=>"xws/admin/rights", :use_route=>:new_xws_admin_right, :action=>"new"} options ? opts.merge(options) : opts end # protected :hash_for_new_xws_admin_right_path def new_xws_admin_right_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/rights/new" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_new_xws_admin_right_path(__extract_options__(args, []))) end # protected :new_xws_admin_right_path def hash_for_xws_admin_rights_url(options = nil) opts = {:only_path=>false, :controller=>"xws/admin/rights", :use_route=>:xws_admin_rights, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_xws_admin_rights_url def xws_admin_rights_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/admin/rights" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_admin_rights_url(__extract_options__(args, []))) end # protected :xws_admin_rights_url def hash_for_xws_docs_path(options = nil) opts = {:only_path=>true, :controller=>"xws/docs", :use_route=>:xws_docs, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_xws_docs_path def xws_docs_path(*args) return "#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/docs" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_docs_path(__extract_options__(args, []))) end # protected :xws_docs_path def hash_for_external_lost_password_path(options = nil) opts = {:only_path=>true, :controller=>"", :host=>"www.xing.com", :use_route=>:external_lost_password, :action=>"index"} options ? opts.merge(options) : opts end # protected :hash_for_external_lost_password_path def external_lost_password_path(*args) url_for(hash_for_external_lost_password_path(__extract_options__(args, []))) end # protected :external_lost_password_path def hash_for_xws_logout_url(options = nil) opts = {:only_path=>false, :controller=>"xws/logout", :use_route=>:xws_logout, :action=>"create"} options ? opts.merge(options) : opts end # protected :hash_for_xws_logout_url def xws_logout_url(*args) return "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root if ActionController::Base.relative_url_root}/xws/logout" if (!defined?(default_url_options) || default_url_options.blank?) && (!defined?(controller.default_url_options) || controller.default_url_options.blank?) && defined?(request) && request && args.size == 0 url_for(hash_for_xws_logout_url(__extract_options__(args, []))) end # protected :xws_logout_url def hash_for_xws_user_access_token_path(options = nil) opts = {:only_path=>true, :controller=>"xws/user_access_tokens", :use_route=>:xws_user_access_token, :action=>"show"} options ? opts.merge(options) : opts end # protected :hash_for_xws_user_access_token_path def xws_user_access_token_path(*args) url_for(hash_for_xws_user_access_token_path(__extract_options__(args, [:id]))) end # protected :xws_user_access_token_path