Sha256: a83a7b99b6e412d2cfd7165af10f0e2d15dd9e652a8b2c4aa62e4921077b01ca
Contents?: true
Size: 748 Bytes
Versions: 1
Compression:
Stored size: 748 Bytes
Contents
Rails.application.routes.draw do mount EffectiveRegions::Engine => '/', :as => 'effective_regions' end EffectiveRegions::Engine.routes.draw do scope :module => 'effective' do scope '/effective' do get 'snippets' => 'regions#snippets', :as => :snippets # Index of all Snippets get 'snippet/:id' => 'regions#snippet', :as => :snippet # Get a Snippet based on passed values get 'templates' => 'regions#templates', :as => :templates # Index of all Templates end scope '/edit' do # Changing this, means changing the effective_ckeditor routes get '(*requested_uri)' => 'regions#edit', :as => :edit_effective_regions put '(*requested_uri)' => 'regions#update', :as => :effective_regions end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_regions-1.0.0 | config/routes.rb |