Commit 149ee30b33549e6a28f814896d413e961a5769f4
Exists in
master
and in
1 other branch
Merge pull request #874 from kalabiyau/patch-1
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 |