lib/generators/active_leonardo.rb in active_leonardo-0.0.6.beta1 vs lib/generators/active_leonardo.rb in active_leonardo-0.0.6.beta2
- old
+ new
@@ -358,10 +358,10 @@
end
#product => "[:activespace, product]"
def show_resource_path_test(resource=nil)
resource ||= singular_table_name
- "[:#{get_activespace}, #{resource}]"
+ "[:#{options[:activespace]}, #{resource}]"
end
#product => new_activespace_product_path
def new_resource_path_test(resource=nil)
resource ||= singular_table_name
\ No newline at end of file