Browse Source

Add 2 more gitignore

tags/v1.2.0-rc1
Unknown 11 years ago
parent
commit
aa58320a1b
4 changed files with 21 additions and 2 deletions
  1. +1
    -1
      conf/app.ini
  2. +12
    -0
      conf/gitignore/Java
  3. +7
    -0
      conf/gitignore/Objective-C
  4. +1
    -1
      modules/middleware/auth.go

+ 1
- 1
conf/app.ini View File

@@ -8,7 +8,7 @@ RUN_MODE = dev

[repository]
ROOT =
LANG_IGNS = Google Go|C|C++|Python|Ruby|C Sharp
LANG_IGNS = Google Go|C|C++|Python|Ruby|C Sharp|Java|Objective-C
LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|Artistic License 2.0|BSD (3-Clause) License

[server]


+ 12
- 0
conf/gitignore/Java View File

@@ -0,0 +1,12 @@
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

+ 7
- 0
conf/gitignore/Objective-C View File

@@ -0,0 +1,7 @@
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control?
#
# Pods/

+ 1
- 1
modules/middleware/auth.go View File

@@ -47,7 +47,7 @@ func Toggle(options *ToggleOptions) martini.Handler {
return
} else if !ctx.User.IsActive && base.Service.RegisterEmailConfirm {
ctx.Data["Title"] = "Activate Your Account"
ctx.HTML(200, "user/active")
ctx.HTML(200, "user/activate")
return
}
}


Loading…
Cancel
Save