Remove now useless encoding statements
As utf-8 is the default encoding since Ruby 2, this is no longer needed
This commit is contained in:
parent
8b80165872
commit
5eb9d6854c
4 changed files with 0 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
||||||
# encoding: utf-8
|
|
||||||
|
|
||||||
class BaseUploader < CarrierWave::Uploader::Base
|
class BaseUploader < CarrierWave::Uploader::Base
|
||||||
def cache_dir
|
def cache_dir
|
||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# encoding: utf-8
|
|
||||||
|
|
||||||
class CerfaUploader < BaseUploader
|
class CerfaUploader < BaseUploader
|
||||||
before :cache, :set_original_filename
|
before :cache, :set_original_filename
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# encoding: utf-8
|
|
||||||
|
|
||||||
class PieceJustificativeUploader < BaseUploader
|
class PieceJustificativeUploader < BaseUploader
|
||||||
before :cache, :set_original_filename
|
before :cache, :set_original_filename
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# encoding: utf-8
|
|
||||||
|
|
||||||
class ProcedureLogoUploader < BaseUploader
|
class ProcedureLogoUploader < BaseUploader
|
||||||
def root
|
def root
|
||||||
File.join(Rails.root, "public")
|
File.join(Rails.root, "public")
|
||||||
|
|
Loading…
Reference in a new issue