Project

General

Profile

Actions

Patch #12313

closed

Misspelling in auth_sources_controller.rb

Added by Daniel Felix almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
0.08 h

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.

Actions

Also available in: Atom PDF