Sha256: 4de616c594d0d93f88230b1d4946df53ff99e24409fa88d0f48b3bb9bae2ba47

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

module Admin::FeedbackHelper
  def link_to_article_edit(article)
    link_to truncate(article.title, 60), :controller => '/admin/content', :action => 'edit', :id => article.id
  end

  def task_showmod(title, action)
    content_tag :li,
      link_to(title, :published => (action =~ /spam/ ? 'f' : ''),
                     :confirmed => (action =~ /unconfirmed/ ? 'f' : ''),
                     :search => params[:search])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-4.1.1 app/helpers/admin/feedback_helper.rb