Sha256: 621c8e8035907027e8bd98acf51950f2fc9680bf2ba222492da368c5301eecbe
Contents?: true
Size: 521 Bytes
Versions: 19
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true 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
19 entries across 19 versions & 1 rubygems