Rubocop generator files

This commit is contained in:
Brandon Robins
2018-01-01 01:12:33 -06:00
parent e32189716d
commit a5c476c82c
2 changed files with 5 additions and 0 deletions
@@ -1,7 +1,10 @@
# frozen_string_literal: true
require 'rails/generators/base' require 'rails/generators/base'
module Calligraphy module Calligraphy
module Generators module Generators
# Generator used to copy Calligraphy initializer over to your application.
class InstallGenerator < ::Rails::Generators::Base class InstallGenerator < ::Rails::Generators::Base
source_root File.expand_path('../../templates', __FILE__) source_root File.expand_path('../../templates', __FILE__)
+2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
Calligraphy.configure do |config| Calligraphy.configure do |config|
# The HTTP actions Calligraphy uses to create mappings between WebDAV # The HTTP actions Calligraphy uses to create mappings between WebDAV
# HTTP verbs and URLs and WebDAV controller actions. # HTTP verbs and URLs and WebDAV controller actions.