Sha256: 1f37eea2e42ab95ae0fe17df10cdc2cb2d881ef20fe208b5013e252b6375d46d

Contents?: true

Size: 493 Bytes

Versions: 28

Compression:

Stored size: 493 Bytes

Contents

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

28 entries across 28 versions & 1 rubygems

Version Path
effective_logging-3.1.1 config/routes.rb
effective_logging-3.1.0 config/routes.rb
effective_logging-3.0.13 config/routes.rb
effective_logging-3.0.12 config/routes.rb
effective_logging-3.0.11 config/routes.rb
effective_logging-3.0.10 config/routes.rb
effective_logging-3.0.9 config/routes.rb
effective_logging-3.0.8 config/routes.rb
effective_logging-3.0.7 config/routes.rb
effective_logging-3.0.6 config/routes.rb
effective_logging-3.0.5 config/routes.rb
effective_logging-3.0.4 config/routes.rb
effective_logging-3.0.3 config/routes.rb
effective_logging-3.0.2 config/routes.rb
effective_logging-3.0.1 config/routes.rb
effective_logging-3.0.0 config/routes.rb
effective_logging-2.1.2 config/routes.rb
effective_logging-2.1.1 config/routes.rb
effective_logging-2.1.0 config/routes.rb
effective_logging-2.0.8 config/routes.rb