Skip to content

Commit

Permalink
remove PublicsController completely
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperTux88 authored and denschub committed Dec 30, 2015
1 parent 05e4c8d commit 082e300
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 43 deletions.
20 changes: 0 additions & 20 deletions app/controllers/publics_controller.rb

This file was deleted.

10 changes: 1 addition & 9 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
mount Sidekiq::Web => '/sidekiq', :as => 'sidekiq'
end

# Federation
mount DiasporaFederation::Engine => "/"

get "/atom.xml" => redirect('http://blog.diasporafoundation.org/feed/atom') #too many stupid redirects :()
Expand Down Expand Up @@ -182,15 +183,6 @@
get '/u/:username' => 'people#show', :as => 'user_profile', :constraints => { :username => /[^\/]+/ }
get '/u/:username/profile_photo' => 'users#user_photo', :constraints => { :username => /[^\/]+/ }


# Federation

controller :publics do
get "hub" => :hub
end



# External

resources :services, :only => [:index, :destroy]
Expand Down
14 changes: 0 additions & 14 deletions spec/controllers/publics_controller_spec.rb

This file was deleted.

0 comments on commit 082e300

Please sign in to comment.