Sha256: 72b032760b030376088aaf258e8015722abadbf93ead49445568e3cb2d5ad5c3

Contents?: true

Size: 546 Bytes

Versions: 15

Compression:

Stored size: 546 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, :show, :index] 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

15 entries across 15 versions & 1 rubygems

Version Path
effective_logging-1.6.0 config/routes.rb
effective_logging-1.5.9 config/routes.rb
effective_logging-1.5.8 config/routes.rb
effective_logging-1.5.7 config/routes.rb
effective_logging-1.5.6 config/routes.rb
effective_logging-1.5.5 config/routes.rb
effective_logging-1.5.4 config/routes.rb
effective_logging-1.5.3 config/routes.rb
effective_logging-1.5.2 config/routes.rb
effective_logging-1.5.1 config/routes.rb
effective_logging-1.5.0 config/routes.rb
effective_logging-1.4.1 config/routes.rb
effective_logging-1.4.0 config/routes.rb
effective_logging-1.3.1 config/routes.rb
effective_logging-1.3.0 config/routes.rb