render :action => 'new'
else
flash[:notice] = t 'message.reply.wrong_user', :user => @user.display_name
- redirect_to :controller => "user", :action => "login", :referer => request.request_uri
+ redirect_to :controller => "user", :action => "login", :referer => request.fullpath
end
rescue ActiveRecord::RecordNotFound
@title = t'message.no_such_message.title'
@message.save
else
flash[:notice] = t 'message.read.wrong_user', :user => @user.display_name
- redirect_to :controller => "user", :action => "login", :referer => request.request_uri
+ redirect_to :controller => "user", :action => "login", :referer => request.fullpath
end
rescue ActiveRecord::RecordNotFound
@title = t'message.no_such_message.title'