Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f97469

Browse filesBrowse files
committed
bugfix
1 parent 383214e commit 8f97469
Copy full SHA for 8f97469

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎Coding_iOS/Controllers/FileChangeDetailViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/FileChangeDetailViewController.m
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ - (void)goToAddCommentWithParams:(NSMutableDictionary *)params{
162162
AddMDCommentViewController *vc = [AddMDCommentViewController new];
163163
vc.curProject = _curProject;
164164

165-
NSString *requestPath = [[self.linkUrlStr componentsSeparatedByString:@"/git"] firstObject];
165+
NSString *requestPath = [[self.linkUrlStr componentsSeparatedByString:@"/git/"] firstObject];
166166
requestPath = [requestPath stringByAppendingString:@"/git/line_notes"];
167167
vc.requestPath = requestPath;
168168

@@ -191,7 +191,7 @@ - (void)goToAddCommentWithParams:(NSMutableDictionary *)params{
191191
}
192192

193193
- (void)doDeleteCommentWithParams:(NSMutableDictionary *)params{
194-
NSString *requestPath = [[self.linkUrlStr componentsSeparatedByString:@"/git"] firstObject];
194+
NSString *requestPath = [[self.linkUrlStr componentsSeparatedByString:@"/git/"] firstObject];
195195
requestPath = [requestPath stringByAppendingFormat:@"/git/line_notes/%@", params[@"clicked_line_note_id"]];
196196
[[Coding_NetAPIManager sharedManager] request_DeleteLineNoteWithPath:requestPath andBlock:^(id data, NSError *error) {
197197
[self refresh];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.