Sha256: d88b00cc0df4ed3b96a69db0a29a2debc527cc33e46e36e2b62d1c32cba01ffd

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

module ScaffoldMarkupHelper

  def page_builder(&block)
    ScaffoldMarkup::Builders::PageBuilder.new(self, &block)
  end

  def url_helper
    ScaffoldMarkup::Helpers::UrlHelper.new(self)
  end

  def resource_class
    params[:controller].classify.constantize
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scaffold_markup-0.0.1 app/helpers/scaffold_markup_helper.rb