Sha256: 1f37eea2e42ab95ae0fe17df10cdc2cb2d881ef20fe208b5013e252b6375d46d
Contents?: true
Size: 493 Bytes
Versions: 28
Compression:
Stored size: 493 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 namespace :admin do resources :logs, only: [:index, :show] end end Rails.application.routes.draw do mount EffectiveLogging::Engine => '/', :as => 'effective_logging' end
Version data entries
28 entries across 28 versions & 1 rubygems