Set needs_view by default for new blocks

This commit is contained in:
Anton Khorev 2025-01-22 02:26:07 +03:00
parent 7b19ba580c
commit 8455b7cf03

View file

@ -37,7 +37,7 @@ class UserBlocksController < ApplicationController
end end
def new def new
@user_block = UserBlock.new @user_block = UserBlock.new(:needs_view => true)
end end
def edit def edit