lib/generators/jsonapi/controller_generator.rb in jsonapi-resources-0.10.7 vs lib/generators/jsonapi/controller_generator.rb in jsonapi-resources-0.11.0.beta2
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Jsonapi
class ControllerGenerator < Rails::Generators::NamedBase
source_root File.expand_path('../templates', __FILE__)
def create_resource