Skip to content

Commit

Permalink
Neat-freak-tweak: forgot to update copyright notices in some files.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomanil committed Feb 8, 2012
1 parent 6172d48 commit 9a90208
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/controllers/site_wiki_pages_controller.rb
@@ -1,6 +1,6 @@
# encoding: utf-8
#--
# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
# Copyright (C) 2012 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Expand Down
3 changes: 1 addition & 2 deletions app/helpers/site_wiki_pages_helper.rb
@@ -1,7 +1,6 @@
# encoding: utf-8
#--
# Copyright (C) 2009 Johan Sørensen <johan@johansorensen.com>
# Copyright (C) 2009 Tor Arne Vestbø <torarnv@gmail.com>
# Copyright (C) 2012 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Expand Down
6 changes: 3 additions & 3 deletions app/models/site.rb
Expand Up @@ -25,16 +25,16 @@ class Site < ActiveRecord::Base
attr_protected :subdomain

def self.default
default_site = Site.new(:title => GitoriousConfig["site_name"], :subdomain => nil)
Site.new(:title => GitoriousConfig["site_name"], :subdomain => nil)
end

def wiki_git_path
repo_name = Site.wiki_repo_name(self.title)
Repository.full_path_from_partial_path(repo_name)
end

def self.wiki_git_path(title)
repo_name = Site.wiki_repo_name(title)
def self.wiki_git_path(site_title)
repo_name = Site.wiki_repo_name(site_title)
Repository.full_path_from_partial_path(repo_name)
end

Expand Down
2 changes: 1 addition & 1 deletion test/functional/site_wiki_pages_controller_test.rb
@@ -1,6 +1,6 @@
# encoding: utf-8
#--
# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
# Copyright (C) 2012 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion test/unit/helpers/site_wiki_pages_helper_test.rb
@@ -1,6 +1,6 @@
# encoding: utf-8
#--
# Copyright (C) 2009 Johan Sørensen <johan@johansorensen.com>
# Copyright (C) 2012 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Expand Down

0 comments on commit 9a90208

Please sign in to comment.