From 8455b7cf03c4021d2841d8b21a20504c3ea1bc99 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 22 Jan 2025 02:26:07 +0300 Subject: [PATCH] Set needs_view by default for new blocks --- app/controllers/user_blocks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5