Type:
Class
Constants:
URL_OPTIONS : [:protocol, :subdomain, :domain, :host, :port]
SCOPE_OPTIONS : [:path, :shallow_path, :as, :shallow_prefix, :module, :controller, :action, :path_names, :constraints, :shallow, :blocks, :defaults, :options]
root
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Resources

root(path, options={}) Instance Public methods

2025-01-10 15:47:30
normalize_path
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper

normalize_path(path) Class Public methods Invokes Journey::Router::Utils.normalize_path

2025-01-10 15:47:30
concern
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Concerns

concern(name, callable = nil, &block) Instance Public methods Define a routing

2025-01-10 15:47:30
namespace
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Resources

namespace(path, options = {}) Instance Public methods See

2025-01-10 15:47:30
mount
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Base

mount(app, options = nil) Instance Public methods Mount a Rack-based application

2025-01-10 15:47:30
resources
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Resources

resources(*resources, &block) Instance Public methods In Rails, a resourceful

2025-01-10 15:47:30
controller
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Scoping

controller(controller, options={}) Instance Public methods Scopes routes to

2025-01-10 15:47:30
match
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Base

match(path, options=nil) Instance Public methods Matches a url pattern to one

2025-01-10 15:47:30
constraints
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Scoping

constraints(constraints = {}) Instance Public methods Parameter Restriction

2025-01-10 15:47:30
defaults
  • References/Ruby on Rails/Rails/Classes/ActionDispatch/ActionDispatch::ROUTING/ActionDispatch::Routing::Mapper/ActionDispatch::Routing::Mapper::Scoping

defaults(defaults = {}) Instance Public methods Allows you to set default parameters

2025-01-10 15:47:30