Project

General

Profile

Viewing Repository Files in Raw Format

Added by Luiz Barbosa almost 15 years ago

Hello, Im new to Redmine and I am moving from Trac. Trac has an option that allows us to view repository files instead of downloading them (Content-disposition: inline).

Browsing through the source code i found that the entry action forces the download. Is there away to change this behavior without changing the source code? If not, how should i change the following line (i have no ruby experience, sorry):

send_data @content, :filename => @path.split('/').last

Thanks a lot.

Luiz.