Remove unused helpers

This commit is contained in:
Marcin Kulik 2014-02-01 11:23:06 +01:00
parent f1c6c890c2
commit d1b912f1d2
2 changed files with 0 additions and 15 deletions

View File

@ -34,15 +34,6 @@ module ApplicationHelper
email ? "'#{email}'".html_safe : 'null'
end
def markdown(&block)
text = capture(&block)
MKD_RENDERER.render(capture(&block)).html_safe
end
def indented_text(string, width)
string.lines.map { |l| "#{' ' * width}#{l}" }.join('')
end
def category_links(current_category, &blk)
links = CategoryLinks.new(current_category, self)

View File

@ -5,12 +5,6 @@ module AsciicastsHelper
options: options
end
# TODO: move to AsciicastDecorator
def link_to_delete_asciicast(name, asciicast)
link_to name, asciicast_path(asciicast), :method => :delete,
:data => { :confirm => 'Really delete this asciicast?' }
end
private
def serialized_asciicast(asciicast)