diff options
Diffstat (limited to 'app/helpers/auth_sources_helper.rb')
-rw-r--r-- | app/helpers/auth_sources_helper.rb | 3 |
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 |