##// END OF EJS Templates
Use safe_attributes= just like in #create....
Use safe_attributes= just like in #create. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9135 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8559:80f3834159d8
r9015:0ee1de568697
Show More
ldap_auth_sources_controller.rb
26 lines | 951 B | text/x-ruby | RubyLexer
/ app / controllers / ldap_auth_sources_controller.rb
Toshi MARUYAMA
remove trailing white-spaces from app/controllers/ldap_auth_sources_controller.rb....
r6681 # Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
Eric Davis
Refactor AuthSourcesController to support non-LDAP sources. #1131...
r3630 #
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
Toshi MARUYAMA
remove trailing white-spaces from app/controllers/ldap_auth_sources_controller.rb....
r6681 #
Eric Davis
Refactor AuthSourcesController to support non-LDAP sources. #1131...
r3630 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Toshi MARUYAMA
remove trailing white-spaces from app/controllers/ldap_auth_sources_controller.rb....
r6681 #
Eric Davis
Refactor AuthSourcesController to support non-LDAP sources. #1131...
r3630 # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class LdapAuthSourcesController < AuthSourcesController
Jean-Philippe Lang
Fixes admin menu display....
r8559 menu_item :ldap_authentication
Eric Davis
Refactor AuthSourcesController to support non-LDAP sources. #1131...
r3630
protected
Toshi MARUYAMA
remove trailing white-spaces from app/controllers/ldap_auth_sources_controller.rb....
r6681
Eric Davis
Refactor AuthSourcesController to support non-LDAP sources. #1131...
r3630 def auth_source_class
AuthSourceLdap
end
end