Permalink
Browse files

issue #23 bufix with versions

  • Loading branch information...
1 parent e01cc3a commit f8a7d875b96e9113154ba2b55a8df6a2031841ab torasakura committed Jun 11, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 app/models/group_essay_answer.rb
  2. +1 −1 app/views/layouts/application.html.erb
@@ -22,6 +22,8 @@ def self.submit_group_essay(group, page)
end
answer.locked = true
answer.save
+ version = answer.versions.last
+ version.whodunnit = group.students.last.profile.id
end
end
@@ -15,7 +15,7 @@
<body>
<div id="wrapper">
<div id="top">
- <h2>radiance 0.2.1 alpha</h2>
+ <h2>radiance e-Learning Software</h2>
<ul>
<% if current_user %>
<li><%= t(:logged_in_as, :scope => :general) %>: <%= current_user.login %></li>

0 comments on commit f8a7d87

Please sign in to comment.