Code cleanup.
This commit is contained in:
parent
0f758886f4
commit
f8e8f6dc74
2 changed files with 8 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
7
db/migrate/20130212224310_change_user_login_failed.rb
Normal file
7
db/migrate/20130212224310_change_user_login_failed.rb
Normal 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
|
Loading…
Reference in a new issue