Sha256: e407f1ca3bb5ada6905a85bb757379ac414bfccbf3b98db258e75167dbeb9714

Contents?: true

Size: 981 Bytes

Versions: 1

Compression:

Stored size: 981 Bytes

Contents

# main routes
get 'switch_current_language', to: 'back/back#switch_current_language', as: 'switch_current_language'

# posts
resources :posts, module: 'back'
post 'posts_extra/update_status', to: 'back/posts#update_status', as: 'posts_update_status'
post 'posts_extra/update_publication_datetime', to: 'back/posts#update_publication_datetime', as: 'posts_update_publication_datetime'
post 'posts_extra/update_categories', to: 'back/posts#update_categories', as: 'posts_update_categories'
get 'posts_extra/destroy_all_deleted', to: 'back/posts#destroy_all_deleted', as: 'posts_destroy_all_deleted'

# post fields
resources :post_fields, module: 'back', only: [:index, :destroy]
post 'post_fields_extra/create_relay_field', to: 'back/post_fields#create_relay_field', as: 'post_fields_create_relay_field'
post 'post_fields_extra/destroy_relay_field', to: 'back/post_fields#destroy_relay_field', as: 'post_fields_destroy_relay_field'

# categories
resources :categories, module: 'back'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_blog-2.1 config/routes/back.rb