1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

updating docs

This commit is contained in:
Aaron Patterson 2016-12-21 12:03:30 -08:00
parent 2eb0a6630a
commit 87105622cc
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

View file

@ -27,6 +27,10 @@ module ActionController
# #
# def show # def show
# @repo = Repository.find_by_filesystem_path params[:file_path] # @repo = Repository.find_by_filesystem_path params[:file_path]
#
# # `repo_name` is guaranteed to be UTF-8, but was ASCII-8BIT, so
# # tag it as such
# @repo_name = params[:repo_name].force_encoding 'UTF-8'
# end # end
# #
# def index # def index