diff --git a/lib/generators/calligraphy/install_generator.rb b/lib/generators/calligraphy/install_generator.rb index 0da9f8b..45cb68c 100644 --- a/lib/generators/calligraphy/install_generator.rb +++ b/lib/generators/calligraphy/install_generator.rb @@ -1,7 +1,10 @@ +# frozen_string_literal: true + require 'rails/generators/base' module Calligraphy module Generators + # Generator used to copy Calligraphy initializer over to your application. class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../../templates', __FILE__) diff --git a/lib/generators/templates/calligraphy.rb b/lib/generators/templates/calligraphy.rb index 3cbd227..b359652 100644 --- a/lib/generators/templates/calligraphy.rb +++ b/lib/generators/templates/calligraphy.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + Calligraphy.configure do |config| # The HTTP actions Calligraphy uses to create mappings between WebDAV # HTTP verbs and URLs and WebDAV controller actions.