lib/railsthemes/utils.rb in railsthemes-2.0.3 vs lib/railsthemes/utils.rb in railsthemes-2.1.0
- old
+ new
@@ -120,10 +120,10 @@
end
def self.get_primary_configuration gemfile_contents = read_file('Gemfile.lock')
gem_names = gemspecs(gemfile_contents).map(&:name)
[(gem_names.include?('haml') ? 'haml' : 'erb'),
- (gem_names.include?('sass') ? 'scss' : 'css')]
+ (gem_names.include?('sass') ? 'scss' : 'css')]
end
def self.insert_into_routes_file! to_insert
lines = lines('config/routes.rb')
last = lines.pop