From 6d3677acd14225e084ffc430f70897b2697c8784 Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Mon, 4 Aug 2014 10:28:09 -0300 Subject: [PATCH] Add attr_accessible to LocationBlock's attributes --- app/models/location_block.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/models/location_block.rb b/app/models/location_block.rb index 5bd5b0c..9dc28ab 100644 --- a/app/models/location_block.rb +++ b/app/models/location_block.rb @@ -1,5 +1,7 @@ class LocationBlock < Block + attr_accessible :zoom, :map_type + settings_items :zoom, :type => :integer, :default => 4 settings_items :map_type, :type => :string, :default => 'roadmap' -- libgit2 0.21.2