send_email_plugin_admin_controller.rb 391 Bytes
class SendEmailPluginAdminController < PluginsController

  def index
    @environment = environment
    if request.post?
      if environment.update_attributes(params[:environment])
        session[:notice] = _('Configurations was saved')
        redirect_to :controller => 'plugins'
      else
        session[:notice] = _('Configurations could not be saved')
      end
    end
  end

end