annotate test/exemplars/.svn/text-base/repository_exemplar.rb.svn-base @ 68:60c0a4e08e09 luisf

Feature #35: The projects page now is separated in "My Projects" and "Other Projects".
author luisf
date Mon, 06 Dec 2010 17:50:43 +0000
parents 513646585e45
children
rev   line source
Chris@0 1 class Repository < ActiveRecord::Base
Chris@0 2 generator_for :type => 'Subversion'
Chris@0 3 generator_for :url, :method => :next_url
Chris@0 4
Chris@0 5 def self.next_url
Chris@0 6 @last_url ||= 'file:///test/svn'
Chris@0 7 @last_url.succ!
Chris@0 8 @last_url
Chris@0 9 end
Chris@0 10
Chris@0 11 end