Sha256: da8764c53cc723969c5b67215deac7c18ff9c27018f21f9af6363ea895aaf5fb

Contents?: true

Size: 503 Bytes

Versions: 11

Compression:

Stored size: 503 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]
  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

11 entries across 11 versions & 1 rubygems

Version Path
effective_logging-1.2.6 config/routes.rb
effective_logging-1.2.5 config/routes.rb
effective_logging-1.2.4 config/routes.rb
effective_logging-1.2.3 config/routes.rb
effective_logging-1.2.2 config/routes.rb
effective_logging-1.2.1 config/routes.rb
effective_logging-1.2.0 config/routes.rb
effective_logging-1.1.3 config/routes.rb
effective_logging-1.1.2 config/routes.rb
effective_logging-1.1.0 config/routes.rb
effective_logging-1.0.0 config/routes.rb