lib/generators/graphql/templates/graphql_controller.erb in graphql-2.1.0 vs lib/generators/graphql/templates/graphql_controller.erb in graphql-2.1.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
<% module_namespacing_when_supported do -%>
class GraphqlController < ApplicationController
# If accessing from outside this domain, nullify the session
# This allows for outside API access while preventing CSRF attacks,
# but you'll have to authenticate your user separately