Sha256: affbadcc9e8a5ee52debb005975f193341ddcc9708ee0b6e1fffd7a82f50ceac

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

Rails.application.routes.draw do
  get "one", to: "test#one"
  
  mobile_optional do
    get "two", to: "test#two", as: :optional_mobile
    get "five", to: "test#path_checking"
    get "six", to: "test#redirect_checking"
    get "seven", to: "test#fixed_redirect_checking"
    get "eight", to: "test#path_rendering"
  end
  
  mobile_only do
    get "three", to: "test#three"
    get "nine", to: "test#mobile_to_desktop_path"
    root to: "test#four"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mobile-enhancements-0.0.5 spec/internal/config/routes.rb