lib/much-rails/action/controller.rb in much-rails-0.2.6 vs lib/much-rails/action/controller.rb in much-rails-0.2.7
- old
+ new
@@ -30,10 +30,10 @@
respond_to do |format|
format.public_send(much_rails_action_class_format) do
result =
much_rails_action_class.call(
params: much_rails_action_params,
- current_user: current_user,
+ current_session: current_session,
request: request,
)
instance_exec(result, &result.execute_block)
end
end