lib/happy/ext/resources.rb in happy-0.1.0.pre10 vs lib/happy/ext/resources.rb in happy-0.1.0.pre11
- old
+ new
@@ -97,17 +97,13 @@
@options = {
:singular_name => options[:class].to_s.tableize.singularize,
:plural_name => options[:class].to_s.tableize.pluralize
}.merge(@options)
- puts url
-
path options[:plural_name] do
- puts url
get('new') { do_new }
path :id do
- puts url
get { do_show }
post { do_update }
get('edit') { do_edit }
end