From: Anton Khorev Date: Tue, 21 Jan 2025 23:26:07 +0000 (+0300) Subject: Set needs_view by default for new blocks X-Git-Tag: live~108^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8455b7cf03c4021d2841d8b21a20504c3ea1bc99?hp=--cc Set needs_view by default for new blocks --- 8455b7cf03c4021d2841d8b21a20504c3ea1bc99 diff --git a/app/controllers/user_blocks_controller.rb b/app/controllers/user_blocks_controller.rb index a526f529e..ec85aef38 100644 --- a/app/controllers/user_blocks_controller.rb +++ b/app/controllers/user_blocks_controller.rb @@ -37,7 +37,7 @@ class UserBlocksController < ApplicationController end def new - @user_block = UserBlock.new + @user_block = UserBlock.new(:needs_view => true) end def edit