Sha256: e642a226758136345fb305bc65dc92c1c4fb85f607741dce38b8157de8d0d819
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 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, :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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
six-updater-web-0.12.1 | lib/app/controllers/repositories_controller.rb |