Modified: trunk/app/controllers/application_controller.rb (3274 => 3275)
--- trunk/app/controllers/application_controller.rb 2012-12-14 16:57:08 UTC (rev 3274)
+++ trunk/app/controllers/application_controller.rb 2012-12-17 15:21:36 UTC (rev 3275)
@@ -1004,7 +1004,7 @@
#Applies the layout for the Network with the given network_id to the object (contributable)
def update_layout(object,network_id)
- if network_id.blank?
+ if network_id.blank? || network_id == "Default"
object.contribution.layout = nil
object.contribution.save
else