Code cleanup.

This commit is contained in:
Martin Edenhofer 2013-02-12 23:47:08 +01:00
parent 0f758886f4
commit f8e8f6dc74
2 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@ class Index extends App.ControllerLevel2
@menu = [ @menu = [
{ name: 'Password', 'target': 'password', controller: App.ProfilePassword, params: {} }, { name: 'Password', 'target': 'password', controller: App.ProfilePassword, params: {} },
{ name: 'Language', 'target': 'language', controller: App.ProfileLanguage, params: {} }, { name: 'Language', 'target': 'language', controller: App.ProfileLanguage, params: {} },
{ name: 'Link Accounts', 'target': 'accounts', controller: App.ProfileLinkedAccounts, params: { area: 'Ticket::Number' } }, { name: 'Link Accounts', 'target': 'accounts', controller: App.ProfileLinkedAccounts, params: {} },
# { name: 'Notifications', 'target': 'notify', controller: App.SettingsArea, params: { area: 'Ticket::Number' } }, # { name: 'Notifications', 'target': 'notify', controller: App.SettingsArea, params: { area: 'Ticket::Number' } },
] ]
@page = { @page = {

View file

@ -0,0 +1,7 @@
class ChangeUserLoginFailed < ActiveRecord::Migration
def up
add_column :users, :login_failed, :integer, :null => false, :default => 0
end
def down
end
end