0
0
Fork 0

Merge branch 'master' of https://github.com/ineffyble/mastodon into ineffyble-master

This commit is contained in:
Eugen Rochko 2017-01-21 22:15:22 +01:00
commit d72dd38c13
5 changed files with 23 additions and 2 deletions

View file

@ -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