Commit 01f85c0f15696a93e3f5046c332aa95490b80f0a
1 parent
efc93a88
Exists in
master
and in
1 other branch
Align usage of the same type of quotes in application.rb
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
config/application.rb
| 1 | require File.expand_path('../boot', __FILE__) | 1 | require File.expand_path('../boot', __FILE__) |
| 2 | 2 | ||
| 3 | -require "action_controller/railtie" | ||
| 4 | -require "action_mailer/railtie" | 3 | +require 'action_controller/railtie' |
| 4 | +require 'action_mailer/railtie' | ||
| 5 | require 'mongoid/railtie' | 5 | require 'mongoid/railtie' |
| 6 | -require "sprockets/railtie" | 6 | +require 'sprockets/railtie' |
| 7 | 7 | ||
| 8 | # Require the gems listed in Gemfile, including any gems | 8 | # Require the gems listed in Gemfile, including any gems |
| 9 | # you've limited to :test, :development, or :production. | 9 | # you've limited to :test, :development, or :production. |
| @@ -26,7 +26,7 @@ module Errbit | @@ -26,7 +26,7 @@ module Errbit | ||
| 26 | config.serve_static_assets = Errbit::Config.serve_static_assets | 26 | config.serve_static_assets = Errbit::Config.serve_static_assets |
| 27 | end | 27 | end |
| 28 | 28 | ||
| 29 | - initializer "errbit.mongoid", before: "mongoid.load-config" do | 29 | + initializer 'errbit.mongoid', before: 'mongoid.load-config' do |
| 30 | require Rails.root.join('config/mongo') | 30 | require Rails.root.join('config/mongo') |
| 31 | end | 31 | end |
| 32 | 32 | ||
| @@ -50,6 +50,6 @@ module Errbit | @@ -50,6 +50,6 @@ module Errbit | ||
| 50 | config.mongoid.preload_models = true | 50 | config.mongoid.preload_models = true |
| 51 | 51 | ||
| 52 | # Configure Devise mailer to use our mailer layout. | 52 | # Configure Devise mailer to use our mailer layout. |
| 53 | - config.to_prepare { Devise::Mailer.layout "mailer" } | 53 | + config.to_prepare { Devise::Mailer.layout 'mailer' } |
| 54 | end | 54 | end |
| 55 | end | 55 | end |