Sha256: c6cacc8f2f292152cdbfcddb98040cc60335d72e3879ae3b6805b25ac9075d1f

Contents?: true

Size: 226 Bytes

Versions: 10

Compression:

Stored size: 226 Bytes

Contents

Rails.application.routes.draw do
  mount Ahoy::Engine => "/ahoy" if Ahoy.mount
end

Ahoy::Engine.routes.draw do
  scope module: "ahoy" do
    resources :visits, only: [:create]
    resources :events, only: [:create]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ahoy_matey-1.6.1 config/routes.rb
ahoy_matey-1.6.0 config/routes.rb
ahoy_matey-1.5.5 config/routes.rb
ahoy_matey-1.5.4 config/routes.rb
ahoy_matey-1.5.3 config/routes.rb
ahoy_matey-1.5.2 config/routes.rb
ahoy_matey-1.5.1 config/routes.rb
ahoy_matey-1.5.0 config/routes.rb
ahoy_matey-1.4.2 config/routes.rb
ahoy_matey-1.4.1 config/routes.rb