Sha256: 7afd1ba9bca87787864f99992a7b2b1df46dc38c07e77f6b6fe7a47303970db3

Contents?: true

Size: 762 Bytes

Versions: 7

Compression:

Stored size: 762 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.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'
  
  # MuckContents.routes.each do |route|
  #   map.connect route[:uri], MuckContents.build_route_options(route)
  # end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muck-contents-0.2.6 config/muck_contents_routes.rb
muck-contents-0.2.5 config/muck_contents_routes.rb
muck-contents-0.2.4 config/muck_contents_routes.rb
muck-contents-0.2.3 config/muck_contents_routes.rb
muck-contents-0.2.2 config/muck_contents_routes.rb
muck-contents-0.2.1 config/muck_contents_routes.rb
muck-contents-0.2.0 config/muck_contents_routes.rb