summaryrefslogtreecommitdiffstats
path: root/app/helpers/auth_sources_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 11:43:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 11:43:27 +0000
commitbd47af098fefef968647f7634105b22eb115d4b2 (patch)
tree8ff70b22d6baf6925bfe81a6242d2a91b1411b9b /app/helpers/auth_sources_helper.rb
parent81185a8d93c049eb77d3c3638dc01ab4e3a65f07 (diff)
downloadredmine-bd47af098fefef968647f7634105b22eb115d4b2.tar.gz
redmine-bd47af098fefef968647f7634105b22eb115d4b2.zip
Merged LdapAuthSourceController into AuthSourceController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/auth_sources_helper.rb')
-rw-r--r--app/helpers/auth_sources_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/auth_sources_helper.rb b/app/helpers/auth_sources_helper.rb
index bd4bca87e..8ef17b209 100644
--- a/app/helpers/auth_sources_helper.rb
+++ b/app/helpers/auth_sources_helper.rb
@@ -18,4 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
module AuthSourcesHelper
+ def auth_source_partial_name(auth_source)
+ "form_#{auth_source.class.name.underscore}"
+ end
end