Skip to content

Commit

Permalink
added alias for content_type
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Jan 23, 2012
1 parent 07a62f4 commit 6df0206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sinatra.fy
Expand Up @@ -48,6 +48,7 @@ class Sinatra Base {

alias_method: 'redirect: for_ruby: 'redirect
alias_method: 'to: for_ruby: 'to
alias_method: 'content_type: for_ruby: 'content_type
}

class Sinatra Request {
Expand Down

0 comments on commit 6df0206

Please sign in to comment.