File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,9 +217,9 @@ def initialize(config, opts = {})
217
217
self . tags = construct_tags ( opts [ :tags ] ) | construct_tags ( context [ :tags ] )
218
218
219
219
self . url = opts [ :url ] || request_hash [ :url ] || nil
220
- self . action = opts [ :action ] || request_hash [ :action ] || nil
221
- self . component = opts [ :controller ] || opts [ :component ] || request_hash [ :component ] || nil
222
- self . params = opts [ :parameters ] || opts [ :params ] || request_hash [ :params ] || { }
220
+ self . action = opts [ :action ] || context [ :_action ] || request_hash [ :action ] || nil
221
+ self . component = opts [ :controller ] || opts [ :component ] || context [ :_component ] || request_hash [ :component ] || nil
222
+ self . params = opts [ :parameters ] || opts [ :params ] || request_hash [ :params ] || { }
223
223
self . session = opts [ :session ] || request_hash [ :session ] || { }
224
224
self . cgi_data = opts [ :cgi_data ] || request_hash [ :cgi_data ] || { }
225
225
self . details = opts [ :details ] || { }
You can’t perform that action at this time.
0 commit comments