Skip to content

Commit 10f87f6

Browse files
committedFeb 26, 2013
Merge pull request #124 from fusion94/master-123
moved version string to git_revision Fixes #123
2 parents bcf746c + 2b81b1c commit 10f87f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎app/views/pages/about.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="aboutlogo" src="/assets/kandanlogo.png" height="125" width="125">
88
</h1>
99

10-
<h3>Version 1.0 (<%= AppName::REVISION %>)</h3>
10+
<h3><%= AppName::VERSION %> (<%= AppName::REVISION %>)</h3>
1111

1212
<h3>Description</h3>
1313

‎config/initializers/git_revision.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module AppName
2+
VERSION = 'Version 1.1'
23
REVISION = `git log --pretty=format:'%h' -n 1`
34
end

0 commit comments

Comments
 (0)
Please sign in to comment.