some changes again
This commit is contained in:
		
							parent
							
								
									bd5f3d1a44
								
							
						
					
					
						commit
						38194311ab
					
				| 
						 | 
				
			
			@ -7,6 +7,7 @@ class DesktopController< ApplicationController
 | 
			
		|||
  def index
 | 
			
		||||
    @desktop = current_user.desktop
 | 
			
		||||
    @currentusername = current_user.name
 | 
			
		||||
    debugger
 | 
			
		||||
    @title = "Desktop - " + @currentusername
 | 
			
		||||
    @section = @desktop.sections.first
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			@ -108,12 +109,12 @@ class DesktopController< ApplicationController
 | 
			
		|||
  def getgroups
 | 
			
		||||
    @section = Section.find(params["sectionid"])
 | 
			
		||||
    @groups = @section.groups
 | 
			
		||||
    
 | 
			
		||||
    gr = Array.new
 | 
			
		||||
    @groups.each do |group|
 | 
			
		||||
      a = Array.new
 | 
			
		||||
      t = group.tiles
 | 
			
		||||
      t.each do |tile|
 | 
			
		||||
      @t = group.tiles
 | 
			
		||||
 | 
			
		||||
      @t.each do |tile|
 | 
			
		||||
        data_content = ""
 | 
			
		||||
        jsfile = []
 | 
			
		||||
        cssfile = ""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue