Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arity warning for template handlers #35858

Commits on Apr 4, 2019

  1. Fix arity warning for template handlers

    Mainly to help with knowning which template is reponsible for the
    warning.
    
    handler.class # => Class
    
    handler.to_s # => Coffee::Rails::TemplateHandler
    
    Before:
    
    Change:
      >> Class#call(template)
    To:
      >> Class#call(template, source)
    
    After:
    
    Change:
      >> Coffee::Rails::TemplateHandler.call(template)
    To:
      >> Coffee::Rails::TemplateHandler.call(template, source)
    localhostdotdev committed Apr 4, 2019
    1 Configuration menu
    Copy the full SHA
    b2b2f70 View commit details
    Browse the repository at this point in the history