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