Patch #12313
closedMisspelling in auth_sources_controller.rb
0%
Description
Replace in /app/controllers/auth_sources_controller.rb (line 28-31)
def new
klass_name = params[:type] || 'AuthSourceLdap'
@auth_source = AuthSource.new_subclass_instance(klass_name, params[:auth_source])
end
with:
def new
class_name = params[:type] || 'AuthSourceLdap'
@auth_source = AuthSource.new_subclass_instance(class_name, params[:auth_source])
end
klass_name => class_name
Sorry for the missing patch, but i haven't a sourcecode repository currently on this machine.
Updated by Toshi MARUYAMA almost 12 years ago
It is popular to use klass.class
is reserved name in many languages and frameworks.
Updated by Daniel Felix almost 12 years ago
- Status changed from New to Closed
Hi Toshi,
thanks for this hint.
I just thought it was an error, cause the word "klasse" in german means class. So I thought, it could be added as "denglish" (Mix from german (deutsch) and english). ;-)
I often seen this in some german projects. :-)