aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/config/routes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Configure Active Storage route prefixChris Bisnett2018-09-141-12/+13
| | | | | | | | | | | Applications can configure the route prefix prepended to the Active Storage routes. By default this maintains the previous prefix `/rails/active_storage` but supports custom prefixes. Before this change the route for serving blobs is fixed to `/rails/active_storage/blobs/:signed_id/*filename`. After this change it's possible to configure the route to something like `/files/blobs/:signed_id/*filename`.
* Merge Previews/Variants controller into one Representations controller.Kasper Timm Hansen2018-03-031-20/+8
| | | | | | | | | Since ActiveStorage::Blob::Representable unifies the idea of previews and variants under one roof as representation, we may as well have the controllers follow suit. Thus ActiveStorage::RepresenationsController enters the fray. I've copied the old tests for both previews and variants and unified those as well.
* Pass options to rails_blob_urlYoshiyuki Hirano2017-12-221-1/+1
|
* Expose Active Storage routesMehmet Emin INAC2017-12-131-6/+6
|
* Fix that some ASt route helpers silently discarded optionsGeorge Claghorn2017-11-211-10/+10
|
* Preview PDFs and videosGeorge Claghorn2017-09-281-0/+13
|
* Don't expose Active Storage routesyuuji.yaginuma2017-09-161-5/+5
| | | | | | | These routes are only used internally in Active Storage, and it seems that there is no need for the user to directly use them. Therefore, I think that routes should not be exposed to users.
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Make Rubocop happier about ActiveStorageclaudiob2017-08-031-1/+1
| | | | | | | | | | | | Running `rubocop activestorage` before this commit resulted in 20 offenses. This commit only fixes: - Trailing whitespace detected - Space inside } missing - Put one space between the method name and the first argument. The other offenses are left since they are intentional according to @georgeclaghorn (https://github.com/rails/rails/pull/30061#issuecomment-319999190)
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+28
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58