Permalink
Browse files

Updated comments.

  • Loading branch information...
1 parent f55b336 commit 8cb25a61e61e583806135cbc25b9315b680a01ed Francesc Esplugas committed Apr 5, 2009
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/typus/routes.rb
View
@@ -17,14 +17,13 @@ class << ActionController::Routing::Routes;self;end.class_eval do
map.namespace :admin do |admin|
- ##
- # Generate routes for resources.
- #
+ # Routes for tableless resources.
Typus.resources.each do |resource|
admin.connect "#{resource.underscore}/:action", :controller => resource.underscore,
:path_prefix => Typus::Configuration.options[:path_prefix]
end
+ # Routes for models.
Typus.models.each do |model|
# Collection routes depending on defined actions.

0 comments on commit 8cb25a6

Please sign in to comment.