Skip to content

Commit f526e31

Browse files
committed
Cleanup
1 parent 26923db commit f526e31

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

TODO.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
## Immediate
22

3-
- [ ] Deal correctly with NoMethodError raised while rendering template, example:
4-
5-
```ruby
6-
div {
7-
markdown <<~MD
8-
```ruby
9-
@buffer << #{foo}
10-
```
11-
MD
12-
}
13-
```
14-
153
- [ ] Collection - treat directories and files as collections of data.
164

175
Kind of similar to the routing tree, but instead of routes it just takes a

lib/syntropy/request_extensions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def browser?
219219
# @param mime_type [String] MIME type
220220
# @return [bool]
221221
def accept?(mime_type)
222-
accept = headers['accept']
222+
accept = headers['accept']
223223
return nil if !accept
224224

225225
@accept_parts ||= parse_accept_parts(accept)

0 commit comments

Comments
 (0)