Fixed typos
parent
541fe9b110
commit
d216547382
|
@ -5,7 +5,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||||
|
|
||||||
before_action :check_enabled_registrations, only: [:new, :create]
|
before_action :check_enabled_registrations, only: [:new, :create]
|
||||||
before_action :configure_sign_up_params, only: [: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_sessions, only: [:edit, :update]
|
||||||
before_action :set_instance_presenter, only: [:new, :create, :update]
|
before_action :set_instance_presenter, only: [:new, :create, :update]
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ class Themes
|
||||||
Dir.glob(File.join(path, '*.{css,scss}')) do |sheet|
|
Dir.glob(File.join(path, '*.{css,scss}')) do |sheet|
|
||||||
pack.push(File.basename(sheet, File.extname(sheet)))
|
pack.push(File.basename(sheet, File.extname(sheet)))
|
||||||
end
|
end
|
||||||
elsif ext.match?(/^\.s?css$/i)
|
elsif ext.match(/^\.s?css$/i)
|
||||||
skin = File.basename(path, ext)
|
skin = File.basename(path, ext)
|
||||||
pack = ['common']
|
pack = ['common']
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue