Sha256: a3613132926277df79d51b6fe1dbc954d5d7d005724dd44ea50def55e7ad3dc0

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

Rails.application.routes.draw do

  scope :alerts do
    get 'index', format: false, to: 'alerts#index'
    get 'templater', to: 'alerts#templater'
    get 'direct/:direct_type', format: false, to: 'alerts#direct', as: :direct
    get 'swal/:swal_type', format: false, to: 'alerts#show', constraions: %w(success info warning error), as: :swal
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rough_swal-0.0.4 spec/dummy/config/routes.rb
rough_swal-0.0.3 spec/dummy/config/routes.rb
rough_swal-0.0.2 spec/dummy/config/routes.rb
rough_swal-0.0.1 spec/dummy/config/routes.rb