Sha256: 2a575c558ee68f6377e16de6a59d1362622a60ddb5aa457bc7e430dcd0a71556

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

module MathjaxRails
  module Routes
    def mathjax(str)
      match "#{str}/*uri" => "mathjax_rails#index",:as=>'mathjax', via: [:get, :post]
    end
  end
end
ActionDispatch::Routing::Mapper.send :include,MathjaxRails::Routes

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mathjax_rails-0.0.1 lib/mathjax_rails/route.rb