Sha256: f5f10d72b2f71cd28e5fe8e40e9150b9c3bcfd363495e1f2567aeeeaedbbe085
Contents?: true
Size: 299 Bytes
Versions: 6
Compression:
Stored size: 299 Bytes
Contents
module Mathjax module Rails module RouterMethods def mathjax(str) match "#{str}/*uri" => "mathjax/rails/mathjax_rails#giveOutStaticFile",:as=>'mathjax', :via => [:get, :post] end end end end ActionDispatch::Routing::Mapper.send :include,Mathjax::Rails::RouterMethods
Version data entries
6 entries across 6 versions & 2 rubygems