Sha256: 621c8e8035907027e8bd98acf51950f2fc9680bf2ba222492da368c5301eecbe

Contents?: true

Size: 521 Bytes

Versions: 19

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

EffectiveLogging::Engine.routes.draw do
  scope module: 'effective' do
    # Create is our javascript POST event for EffectiveLogging from JS side
    # The show and index routes are for user specific logs
    resources :logs, only: [:create, :index, :show] do
      member { get :html_part }
    end
  end

  namespace :admin do
    resources :logs, only: [:index, :show]
  end

end

Rails.application.routes.draw do
  mount EffectiveLogging::Engine => '/', :as => 'effective_logging'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
effective_logging-4.2.0 config/routes.rb
effective_logging-4.1.3 config/routes.rb
effective_logging-4.1.2 config/routes.rb
effective_logging-4.1.1 config/routes.rb
effective_logging-4.1.0 config/routes.rb
effective_logging-4.0.0 config/routes.rb
effective_logging-3.5.4 config/routes.rb
effective_logging-3.5.3 config/routes.rb
effective_logging-3.5.2 config/routes.rb
effective_logging-3.5.1 config/routes.rb
effective_logging-3.5.0 config/routes.rb
effective_logging-3.4.1 config/routes.rb
effective_logging-3.4.0 config/routes.rb
effective_logging-3.3.0 config/routes.rb
effective_logging-3.2.3 config/routes.rb
effective_logging-3.2.2 config/routes.rb
effective_logging-3.2.1 config/routes.rb
effective_logging-3.2.0 config/routes.rb
effective_logging-3.1.15 config/routes.rb