mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 21:06:22 +00:00
ruboyuta
This commit is contained in:
parent
8d36b5734e
commit
9e35867ed5
2 changed files with 2 additions and 3 deletions
|
@ -197,8 +197,7 @@ class Site < ApplicationRecord
|
|||
# Define los valores por defecto según la llave buscada
|
||||
@jekyll.data.default_proc = proc do |data, key|
|
||||
data[key] = case key
|
||||
when 'layout' then {}
|
||||
else nil
|
||||
when 'layout' then {}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Rails.application.routes.draw do
|
|||
|
||||
get :'sites/hidden_services', to: 'sites#hidden_services'
|
||||
post :'sites/add_onion', to: 'sites#add_onion'
|
||||
resources :sites, only: %i[index], constraints: { site_id: /[a-z0-9\-\.]+/, id: /[a-z0-9\-\.]+/ } do
|
||||
resources :sites, only: %i[index], constraints: { site_id: /[a-z0-9\-.]+/, id: /[a-z0-9\-.]+/ } do
|
||||
get :'invitades/cookie', to: 'invitades#cookie'
|
||||
post :'posts/:layout', to: 'posts#create', as: :posts
|
||||
|
||||
|
|
Loading…
Reference in a new issue