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
params[:user_id] = current_user.id
model_create_render(taskbar,params)
model_create_render(Taskbar,params)
end

View file

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

View file

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