clean-up code
* Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
This commit is contained in:
parent
f6a67fbad5
commit
d62200cad4
112 changed files with 1408 additions and 1437 deletions
|
@ -17,11 +17,11 @@ class Key < ActiveRecord::Base
|
|||
def set_identifier
|
||||
self.identifier = "#{user.identifier}_#{Time.now.to_i}"
|
||||
end
|
||||
|
||||
|
||||
def update_gitosis
|
||||
Gitosis.new.configure do |c|
|
||||
c.update_keys(identifier, key)
|
||||
|
||||
|
||||
projects.each do |project|
|
||||
c.update_project(project.path, project.gitosis_writers)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue