about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-12-03 22:30:45 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2017-12-03 22:30:45 -0800
commitd216547382cf1f3419de31e1ee06272e816ea339 (patch)
treed3e9446b0bb3cb16b2b3bf9e253e1cc5d171ba0d /app
parent541fe9b110fce15c42ba15df27926552c234afd0 (diff)
Fixed typos
Diffstat (limited to 'app')
-rw-r--r--app/controllers/auth/registrations_controller.rb2
-rw-r--r--app/lib/themes.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb
index cc7a69ab0..42e852c04 100644
--- a/app/controllers/auth/registrations_controller.rb
+++ b/app/controllers/auth/registrations_controller.rb
@@ -5,7 +5,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
 
   before_action :check_enabled_registrations, only: [:new, :create]
   before_action :configure_sign_up_params, only: [:create]
-  before_action :set_path
+  before_action :set_pack
   before_action :set_sessions, only: [:edit, :update]
   before_action :set_instance_presenter, only: [:new, :create, :update]
 
diff --git a/app/lib/themes.rb b/app/lib/themes.rb
index 0819e2c90..f1796d0e3 100644
--- a/app/lib/themes.rb
+++ b/app/lib/themes.rb
@@ -32,7 +32,7 @@ class Themes
           Dir.glob(File.join(path, '*.{css,scss}')) do |sheet|
             pack.push(File.basename(sheet, File.extname(sheet)))
           end
-        elsif ext.match?(/^\.s?css$/i)
+        elsif ext.match(/^\.s?css$/i)
           skin = File.basename(path, ext)
           pack = ['common']
         end