Sha256: 31f6b4b17f08aaa0d4939f5b78f4669cf29c939d90a2951367556d43e2bc8a63

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  if Rails.env.development?
    mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/graphql"
  end
  post "/graphql", to: "graphql#execute"
  get 'test_cases/xss'
  get 'test_cases/unsafe_render'
  get 'test_cases/render_inline'
  get 'test_cases/unsafe_redirect'
  get 'test_cases/taint_test/:route_param' => 'test_cases#taint_test', as: 'test_cases_taint_test'

  resources :products
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tainted_love-0.4.1 tests/rails/config/routes.rb
tainted_love-0.4.0 tests/rails/config/routes.rb