# Howto open PDF files in same browser window?

**URL:** <https://meta.discourse.org/t/howto-open-pdf-files-in-same-browser-window/25823>\
**Category:** Feature\
**Created:** [28.Февраль.2015 03:00:39 UTC](https://meta.discourse.org/t/howto-open-pdf-files-in-same-browser-window/25823 "2015-02-28T03:00:39Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/579307_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)\
**Post date:** [01.Март.2015 21:49:18 UTC](https://meta.discourse.org/t/howto-open-pdf-files-in-same-browser-window/25823/16 "2015-03-01T21:49:18Z")

</div>

This might be helpful:

> <https://stackoverflow.com/questions/16208738/display-attached-pdf-in-browser-within-iframe-rails/16209051#16209051>

```
... :disposition => 'inline', :type => "application/pdf")

```

Were can I find the environment controller file?

---

_[View the full topic](https://meta.discourse.org/t/howto-open-pdf-files-in-same-browser-window/25823)._
