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
|
@ -8,7 +8,7 @@ class ApplicationController < ActionController::Base
|
|||
render :file => File.join(Rails.root, "public", "gitosis_error"), :layout => false
|
||||
end
|
||||
|
||||
protected
|
||||
protected
|
||||
|
||||
def abilities
|
||||
@abilities ||= Six.new
|
||||
|
@ -18,7 +18,7 @@ class ApplicationController < ActionController::Base
|
|||
abilities.allowed?(object, action, subject)
|
||||
end
|
||||
|
||||
def project
|
||||
def project
|
||||
@project ||= Project.find_by_code(params[:project_id])
|
||||
end
|
||||
|
||||
|
@ -55,7 +55,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
@tag = unless params[:tag].blank?
|
||||
params[:tag]
|
||||
else
|
||||
else
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue