Sha256: ad1b53a5942aaebd7a9205bed55e5d06900c7d9cc1701284c3956863ff2c90aa
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
class Markitup::ParsersController < ApplicationController def markdown @markitup = BlueCloth.new(params[:data]).to_html render :layout => false end def bbcode @markitup = params[:data].bbcode_to_html render :layout => false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
markitup_rails-0.2.2 | app/controllers/markitup/parsers_controller.rb |
markitup_rails-0.2.0 | app/controllers/markitup/parsers_controller.rb |