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