Skip to content

Commit

Permalink
Fix invalid warn directive
Browse files Browse the repository at this point in the history
  • Loading branch information
mustangostang authored Jul 31, 2018
1 parent be094fa commit cc9aef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react_on_rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def ensure_server_bundle_js_file_has_no_path
assets_dir = ReactOnRails::Utils.generated_assets_full_path
self.server_bundle_js_file = File.basename(server_bundle_js_file)

Rails.logger_warn do
Rails.logger.warn do
"[DEPRECATION] ReactOnRails: remove path from server_bundle_js_file in configuration. "\
"All generated files must go in #{assets_dir}. Using file basename #{server_bundle_js_file}"
end
Expand Down

0 comments on commit cc9aef0

Please sign in to comment.