lib/generators/jsonapi/resource_generator.rb in jsonapi-resources-0.5.7 vs lib/generators/jsonapi/resource_generator.rb in jsonapi-resources-0.5.8

- old
+ new

@@ -4,10 +4,10 @@ def create_resource template_file = File.join( 'app/resources', class_path, - "#{file_name}_resource.rb" + "#{file_name.singularize}_resource.rb" ) template 'jsonapi_resource.rb', template_file end end end