neimo0o
2012-Sep-10 13:29 UTC
ActionView::Template.register_template_handler method refactoring
Hi I was thinking about refactoring ActionView::Template.register_template_handler method Right now when you want to add two extension for one handler you have to write ActionView::Template.register_template_handler(:ext1, handler) ActionView::Template.register_template_handler(:ext2, handler) But i am thinking about ActionView::Template.register_template_handler(:ext1, ext2, handler) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/wXHWuSVvMPUJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.