Sha256: 06ec80fc8ed9756e243ab959bd1ea353a433145dc4c5a82cf495e82782a2232e
Contents?: true
Size: 442 Bytes
Versions: 17
Compression:
Stored size: 442 Bytes
Contents
EffectiveTrash::Engine.routes.draw do scope :module => 'effective' do if EffectiveTrash.routes_enabled resources :trash, only: [:index, :show] do member { get :restore } end end end if EffectiveTrash.routes_enabled namespace :admin do resources :trash, only: [:index, :show] end end end Rails.application.routes.draw do mount EffectiveTrash::Engine => '/', :as => 'effective_trash' end
Version data entries
17 entries across 17 versions & 1 rubygems