Sha256: 0cf21679898a9ffd7e22d6db5341913969f637904f9baf0f58b85c353870cd9a

Contents?: true

Size: 974 Bytes

Versions: 16

Compression:

Stored size: 974 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :contents, :controller => 'muck/contents'
  map.tiny_mce_files '/tiny_mce_files', :controller => 'muck/tiny_mce', :action => 'tiny_mce_files'
  map.tiny_mce_images '/tiny_mce_images', :controller => 'muck/tiny_mce', :action => 'tiny_mce_images'
  map.tiny_mce_links '/tiny_mce_links', :controller => 'muck/tiny_mce', :action => 'tiny_mce_links'
  map.tiny_mce_flickr '/tiny_mce_flickr', :controller => 'muck/tiny_mce', :action => 'tiny_mce_flickr'
  
  map.images_for_content '/images_for_content', :controller => 'muck/tiny_mce', :action => 'images_for_content'
  map.files_for_content '/files_for_content', :controller => 'muck/tiny_mce', :action => 'files_for_content'
  map.links_for_content '/links_for_content', :controller => 'muck/tiny_mce', :action => 'links_for_content'
  
  # MuckContents.routes.each do |route|
  #   map.connect route[:uri], MuckContents.build_route_options(route)
  # end
  
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
muck-contents-0.2.27 config/muck_contents_routes.rb
muck-contents-0.2.26 config/muck_contents_routes.rb
muck-contents-0.2.25 config/muck_contents_routes.rb
muck-contents-0.2.24 config/muck_contents_routes.rb
muck-contents-0.2.23 config/muck_contents_routes.rb
muck-contents-0.2.22 config/muck_contents_routes.rb
muck-contents-0.2.21 config/muck_contents_routes.rb
muck-contents-0.2.20 config/muck_contents_routes.rb
muck-contents-0.2.18 config/muck_contents_routes.rb
muck-contents-0.2.17 config/muck_contents_routes.rb
muck-contents-0.2.16 config/muck_contents_routes.rb
muck-contents-0.2.15 config/muck_contents_routes.rb
muck-contents-0.2.14 config/muck_contents_routes.rb
muck-contents-0.2.13 config/muck_contents_routes.rb
muck-contents-0.2.12 config/muck_contents_routes.rb
muck-contents-0.2.11 config/muck_contents_routes.rb