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