Sha256: de3e914a7cc4a9912ec99c29ee8380b3417044065b81f8304ede718f591859e6
Contents?: true
Size: 780 Bytes
Versions: 2
Compression:
Stored size: 780 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 if EffectiveLogging.trash_enabled resources :trash, only: [:index, :show] do member { get :restore } end end end if defined?(EffectiveDatatables) namespace :admin do resources :logs, :only => [:index, :show] if EffectiveLogging.trash_enabled resources :trash, only: [:index, :show] end end end end Rails.application.routes.draw do mount EffectiveLogging::Engine => '/', :as => 'effective_logging' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_logging-1.7.1 | config/routes.rb |
effective_logging-1.7.0 | config/routes.rb |