remove two useless lines of code
This commit is contained in:
parent
b7a586b1a5
commit
c4d8f4e587
3 changed files with 1 additions and 4 deletions
|
|
@ -3,8 +3,6 @@
|
||||||
# the COPYRIGHT file.
|
# the COPYRIGHT file.
|
||||||
|
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include LanguageHelper
|
|
||||||
|
|
||||||
protect_from_forgery :except => :receive
|
protect_from_forgery :except => :receive
|
||||||
|
|
||||||
before_filter :set_friends_and_status, :except => [:create, :update]
|
before_filter :set_friends_and_status, :except => [:create, :update]
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ class User
|
||||||
include MongoMapper::Document
|
include MongoMapper::Document
|
||||||
include Diaspora::UserModules
|
include Diaspora::UserModules
|
||||||
include Encryptor::Private
|
include Encryptor::Private
|
||||||
include LanguageHelper
|
|
||||||
|
|
||||||
plugin MongoMapper::Devise
|
plugin MongoMapper::Devise
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,4 @@ available:
|
||||||
ro: 'Română'
|
ro: 'Română'
|
||||||
ru: 'Россию'
|
ru: 'Россию'
|
||||||
sv: 'Svenska'
|
sv: 'Svenska'
|
||||||
tr: 'Türk'
|
tr: 'Türk'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue