Sha256: 7a883d59fb655ed9ef368c6dc0bc9dd96af33cea900301a03b64041975cf4111

Contents?: true

Size: 540 Bytes

Versions: 28

Compression:

Stored size: 540 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

  if defined?(EffectiveDatatables)
    namespace :admin do
      resources :logs, only: [:index, :show]
    end
  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-1.11.5 config/routes.rb
effective_logging-1.11.4 config/routes.rb
effective_logging-1.11.3 config/routes.rb
effective_logging-1.11.2 config/routes.rb
effective_logging-1.11.1 config/routes.rb
effective_logging-1.11.0 config/routes.rb
effective_logging-1.10.18 config/routes.rb
effective_logging-1.10.17 config/routes.rb
effective_logging-1.10.16 config/routes.rb
effective_logging-1.10.15 config/routes.rb
effective_logging-1.10.14 config/routes.rb
effective_logging-1.10.13 config/routes.rb
effective_logging-1.10.12 config/routes.rb
effective_logging-1.10.11 config/routes.rb
effective_logging-1.10.10 config/routes.rb
effective_logging-1.10.9 config/routes.rb
effective_logging-1.10.8 config/routes.rb
effective_logging-1.10.7 config/routes.rb
effective_logging-1.10.6 config/routes.rb
effective_logging-1.10.5 config/routes.rb