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

Version Path
mathjax-rails-3-3.2.2.3 lib/mathjax/rails/routes.rb
mathjax-rails-3-3.2.2.2 lib/mathjax/rails/routes.rb
mathjax-rails-3-3.2.2.1 lib/mathjax/rails/routes.rb
mathjax-rails-2.6.1 lib/mathjax/rails/routes.rb
mathjax-rails-2.5.1 lib/mathjax/rails/routes.rb
mathjax-rails-2.3.0 lib/mathjax/rails/routes.rb