Merge branch 'master' of https://github.com/ineffyble/mastodon into ineffyble-master
This commit is contained in:
commit
d72dd38c13
5 changed files with 23 additions and 2 deletions
|
@ -3,6 +3,12 @@
|
|||
require 'sidekiq/web'
|
||||
|
||||
Rails.application.routes.draw do
|
||||
|
||||
# Development-only routes
|
||||
if Rails.env.development?
|
||||
mount LetterOpenerWeb::Engine, at: "/letter_opener"
|
||||
end
|
||||
|
||||
mount ActionCable.server, at: 'cable'
|
||||
|
||||
authenticate :user, lambda { |u| u.admin? } do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue