diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index 38afb7a28..cf39898fe 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -277,18 +277,9 @@ class AccountController < ApplicationController end call_hook(:controller_account_success_authentication_after, {:user => user }) #by young - code = // - #根据home_url生产正则表达式 - class_eval("code = " + "/" + home_url.gsub(/\//,"\\\/") + "\\\/*(welcome)?\\\/*(\\\/index)?\/") - if code.match(params[:back_url]) - redirect_to user_activities_path(user) - else - #redirect_back_or_default my_page_path - redirect_back_or_default User.current - #redirect_to User.current - end - - +# redirect_back_or_default my_page_path + redirect_back_or_default User.current +# redirect_to User.current end def set_autologin_cookie(user) diff --git a/public/images/edit.png b/public/images/edit.png deleted file mode 100644 index 8335716fd..000000000 Binary files a/public/images/edit.png and /dev/null differ diff --git a/public/images/Edit/edit.png b/public/images/edit/edit.png similarity index 100% rename from public/images/Edit/edit.png rename to public/images/edit/edit.png