This commit is contained in:
albert
2012-02-24 17:45:07 -05:00
parent 2333818f4f
commit 6b5b1cf023
2 changed files with 2 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
class JanitorTrial < ActiveRecord::Base
belongs_to :user
before_create :initialize_original_level
after_create :send_dmail
after_create :promote_user
after_destroy :create_feedback
validates_presence_of :user
before_validation :initialize_creator
before_validation :initialize_original_level
def initialize_creator
self.creator_id = CurrentUser.id

View File

@@ -2,7 +2,7 @@
<div id="a-index">
<h1>Janitor Trials</h1>
<table class="striped">
<table class="striped" width="100%">
<thead>
<tr>
<th>User</th>