Skip to content

Commit d485468

Browse files
committed
Remove reduntant nil from base component
1 parent 4e08ad5 commit d485468

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/view_component/base.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def request
289289
def __vc_request
290290
@__vc_request ||= controller.request
291291
rescue NoMethodError
292-
nil
293292
end
294293

295294
# The content passed to the component instance as a block.

0 commit comments

Comments
 (0)