Sha256: 1fe0df0acc0b56baa5e6dc772acd99dbb41a8bbae832b016405af979421d1d3d
Contents?: true
Size: 531 Bytes
Versions: 3
Compression:
Stored size: 531 Bytes
Contents
Rails.application.routes.draw do |map| mount_at = Nivo::Engine.config.mount_at match mount_at => 'nivo/slides#index' map.resources :slides, :controller => "nivo/slides", :path_prefix => mount_at, :name_prefix => "nivo_" map.resources :manage_slides, :only => [:create], :controller => "nivo/manage_slides", :path_prefix => mount_at, :name_prefix => "nivo_" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nivo-0.0.4 | config/routes.rb |
nivo-0.0.3 | config/routes.rb |
nivo-0.0.2 | config/routes.rb |