Skip to content

Commit 1c939c7

Browse files
remove unneeded uses_redux_shared_store helper function
1 parent 19ae082 commit 1c939c7

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

spec/dummy/app/controllers/application_controller.rb

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,4 @@ class ApplicationController < ActionController::Base
1919
redirect_to server_side_log_throw_raise_invoker_path,
2020
flash: { error: msg }
2121
end
22-
23-
helper_method :uses_redux_shared_store?
24-
25-
# Returns true if the current page uses Redux shared stores with inline registration
26-
# These pages require defer: true instead of async: true for proper script execution order
27-
def uses_redux_shared_store?
28-
# Pages that use redux_store helper with inline component registration
29-
action_name.in?(%w[
30-
index
31-
server_side_redux_app
32-
server_side_redux_app_cached
33-
server_side_hello_world_shared_store
34-
server_side_hello_world_shared_store_defer
35-
server_side_hello_world_shared_store_controller
36-
client_side_hello_world_shared_store
37-
client_side_hello_world_shared_store_defer
38-
client_side_hello_world_shared_store_controller
39-
])
40-
end
4122
end

0 commit comments

Comments
 (0)