about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2017-12-11 09:36:14 -0500
committerGitHub <noreply@github.com>2017-12-11 09:36:14 -0500
commit771b950febf2e5ee41ccfcd088f0757d80483332 (patch)
tree64419082b5ec535699fb116d933328548beeec92 /config/routes.rb
parent0cd5f2a61f60dcad51b2c8461fc705facd725075 (diff)
parented7231947c618b7c7c471699a05da85c59afa824 (diff)
Merge pull request #254 from glitch-soc/new-theme-ux
New flavour/skin UX
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a41e76c2c..75b9c2d58 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -102,6 +102,8 @@ Rails.application.routes.draw do
       end
     end
 
+    resources :flavours, only: [:index, :show, :update], param: :flavour
+
     resource :delete, only: [:show, :destroy]
     resource :migration, only: [:show, :update]
 
@@ -240,7 +242,7 @@ Rails.application.routes.draw do
       resources :media,      only: [:create, :update]
       resources :blocks,     only: [:index]
       resources :mutes,      only: [:index] do
-        collection do 
+        collection do
           get 'details'
         end
       end