fixed small typos

This commit is contained in:
Johannes Nickel 2013-05-30 10:24:09 +02:00
parent 4d8270b84f
commit a8849b9183
3 changed files with 6 additions and 5 deletions

View file

@ -22,7 +22,7 @@ class TaskbarController < ApplicationController
def create def create
params[:user_id] = current_user.id params[:user_id] = current_user.id
model_create_render(taskbar,params) model_create_render(Taskbar,params)
end end

View file

@ -1,8 +1,9 @@
class Taskbar < ApplicationModel class Taskbar < ApplicationModel
store :state, :params store :state
before_create :update_time store :params
before_update :update_time before_create :update_last_contact
before_update :update_last_contact
private private
def update_last_contact def update_last_contact

View file

@ -1,4 +1,4 @@
class TaskManagerStates < ActiveRecord::Migration class Taskbar < ActiveRecord::Migration
def up def up
create_table :taskbars do |t| create_table :taskbars do |t|
t.column :user_id, :integer, :null => false t.column :user_id, :integer, :null => false