app/controllers/users_controller.rb
#Helper method for admin and partner show. There may be a better place for it, but I (Michael) this this is
#appropriate.  Not sure exactly how the helper modules are intended to be used or how to use them properly.
Helper method for admin and partner show. There may be a better place for it, but I (Michael) this this is
appropriate.  Not sure exactly how the helper modules are intended to be used or how to use them properly.
Helper method for admin and partner show . There may be a better place for it but I ( Michael ) this this is appropriate . Not sure exactly how the helper modules are intended to be used or how to use them properly .
def form_sorting_for_show
    if missing_params then
      redirect_when_missing_params
    end
    session[:unproc_sort] = params[:unproc_sort]
    session[:proc_sort] = params[:proc_sort]
    @unprocessedForms = Form.where(:processed => false).order(session[:unproc_sort])
    @processedForms = Form.where(:processed => true).order(session[:proc_sort])
  end
def form_sorting_for_show if missing_params then redirect_when_missing_params end session [ :unproc_sort ] = params [ :unproc_sort ] session [ :proc_sort ] = params [ :proc_sort ] @unprocessedForms = Form . where ( :processed => false ) . order ( session [ :unproc_sort ] ) @processedForms = Form . where ( :processed => true ) . order ( session [ :proc_sort ] ) end
Helper method for admin and partner show.
Helper method for admin and partner show .