Commit 6d3677acd14225e084ffc430f70897b2697c8784
1 parent
944c01f8
Exists in
master
and in
22 other branches
Add attr_accessible to LocationBlock's attributes
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/models/location_block.rb
| 1 | class LocationBlock < Block | 1 | class LocationBlock < Block |
| 2 | 2 | ||
| 3 | + attr_accessible :zoom, :map_type | ||
| 4 | + | ||
| 3 | settings_items :zoom, :type => :integer, :default => 4 | 5 | settings_items :zoom, :type => :integer, :default => 4 |
| 4 | settings_items :map_type, :type => :string, :default => 'roadmap' | 6 | settings_items :map_type, :type => :string, :default => 'roadmap' |
| 5 | 7 |