lib/saasable/railtie.rb in saasable-5.0.5 vs lib/saasable/railtie.rb in saasable-5.1.0

- old
+ new

@@ -1,9 +1,11 @@ -require "saasable/railties" +# frozen_string_literal: true +require 'saasable/railties' + class Saasable::Railtie < Rails::Railtie config.app_middleware.use Saasable::Middleware - initializer "include helpers" do + initializer 'include helpers' do ActionController::Base.send :include, Saasable::Railties::Helpers end end