mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
MS added a log route for easy access
This commit is contained in:
@@ -79,4 +79,10 @@ def warzombie
|
||||
current_user.update_profile(:image_url => photo.url(:thumb_medium))
|
||||
current_user.save
|
||||
end
|
||||
|
||||
def log
|
||||
@log = `tail -n 200 log/development.log`
|
||||
|
||||
render "shared/log"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -28,6 +28,7 @@ Diaspora::Application.routes.draw do
|
||||
|
||||
match '.well-known/host-meta',:to => 'publics#host_meta'
|
||||
match 'receive/users/:id', :to => 'publics#receive'
|
||||
match 'log', :to => "dev_utilities#log"
|
||||
#root
|
||||
root :to => 'groups#index'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user