daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def mycenter
  2.     @user = current_user # hole den aktuellen nutzer
  3.     @bpms = @user.bpms #dirty, da auch Hauptprozesse drin sind
  4.     for bpm in @bpms
  5.       if !bpm.parent #wenn hauptprozess
  6.         @bpms.delete(bpm) #lösche ihn aus der anzuzeigenden Liste
  7.       end
  8.     end
  9.     @tasks = @user.tasks # nimm dir alle tasks
  10.    
  11.     respond_to do |format|
  12.       format.html {}
  13.     end
  14.   end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top