mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: remove repetitive words (#26439)
This commit is contained in:
parent
800258b84b
commit
11877f3b9c
|
@ -515,7 +515,7 @@ export default Controller.extend(bufferedProperty("model"), {
|
|||
}
|
||||
},
|
||||
|
||||
// Called the the bottommost visible post on the page changes.
|
||||
// Called the bottommost visible post on the page changes.
|
||||
bottomVisibleChanged(event) {
|
||||
const { post, refresh } = event;
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ class PresenceChannel
|
|||
end
|
||||
|
||||
# Is a user allowed to enter this channel?
|
||||
# Currently equal to the the can_view? permission
|
||||
# Currently equal to the can_view? permission
|
||||
def can_enter?(user_id: nil, group_ids: nil)
|
||||
return false if user_id.nil?
|
||||
can_view?(user_id: user_id, group_ids: group_ids)
|
||||
|
|
|
@ -98,7 +98,7 @@ import:
|
|||
original: oldsite.example.com/forums # without http(s)://
|
||||
new: http://discourse.example.com # with http:// or https://
|
||||
|
||||
# Enable this, if you want to redirect old forum links to the the new locations.
|
||||
# Enable this, if you want to redirect old forum links to the new locations.
|
||||
permalinks:
|
||||
categories: true # redirects /viewforum.php?f=1 to /c/category-name
|
||||
topics: true # redirects /viewtopic.php?f=6&t=43 to /t/topic-name/81
|
||||
|
|
|
@ -6631,7 +6631,7 @@ RSpec.describe UsersController do
|
|||
expect(response.status).to eq(403)
|
||||
end
|
||||
|
||||
it "returns an error if the the current user does not have access" do
|
||||
it "returns an error if the current user does not have access" do
|
||||
sign_in(user1)
|
||||
topic.update(user_id: another_user.id)
|
||||
put "/u/#{another_user.username}/clear-featured-topic.json"
|
||||
|
|
Loading…
Reference in New Issue
Block a user