Sha256: d338d2e287b515942cbfc55be5f0bef1cd0a136d500308b48dc6cb4a2be39c9e

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

Rails.application.routes.draw do

  mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)
  root to: 'pages#start'

  get 'method_test/:action', controller: 'method_test'
  post 'method_test/:action', controller: 'method_test'

  get 'binding_test/:action', controller: 'binding_test'
  get 'css_test/:action', controller: 'css_test'
  get 'error_test/:action', controller: 'error_test'
  post 'error_test/:action', controller: 'error_test'
  get 'replace_test/:action', controller: 'replace_test'
  get 'hash_test/:action', controller: 'hash_test'
  get 'reveal_test/:action', controller: 'reveal_test'
  get 'scroll_test/:action', controller: 'scroll_test'
  get 'motion_test/:action', controller: 'motion_test'

  namespace :form_test do
    resource :basic, only: [:new, :create]
    resource :upload, only: [:new, :create]
    resource :redirect, only: [:new, :create] do
      member do
        get :target
      end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unpoly-rails-0.60.0 spec_app/config/routes.rb