Sha256: 014d92ff6caad13b1e37e69360341abfccd2c1df00a3b373d4db17ce4ce25d31
Contents?: true
Size: 691 Bytes
Versions: 54
Compression:
Stored size: 691 Bytes
Contents
class RepositoriesController < ApplicationController record_select :per_page => 10, :search_on => "url", :order_by => "url ASC", :full_text_search => true active_scaffold :repositories do |config| config = self # Ruby19 compatibility config.columns = [ :url, :network, :created_at, :updated_at, :priority, :disabled ] config.action_links.add 'copy', :label => 'Clone', :type => :record, :position => false, :confirm => "Do you really want to *clone* this item?" config.list.sorting = { :url => :asc } [:priority, :disabled].each do |column| config.columns[column].inplace_edit = true end end end
Version data entries
54 entries across 54 versions & 1 rubygems