ref: master
plugins/ldap/controllers/ldap_plugin_admin_controller.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
class LdapPluginAdminController < PluginAdminController append_view_path File.join(File.dirname(__FILE__) + '/../views') def index end def update if @environment.update(params[:environment]) session[:notice] = _('Ldap configuration updated successfully.') else session[:notice] = _('Ldap configuration could not be saved.') end render :action => 'index' end end |