MS added a log route for easy access
This commit is contained in:
parent
9b690b863a
commit
d1bac3e078
2 changed files with 7 additions and 0 deletions
|
|
@ -79,4 +79,10 @@ def warzombie
|
||||||
current_user.update_profile(:image_url => photo.url(:thumb_medium))
|
current_user.update_profile(:image_url => photo.url(:thumb_medium))
|
||||||
current_user.save
|
current_user.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def log
|
||||||
|
@log = `tail -n 200 log/development.log`
|
||||||
|
|
||||||
|
render "shared/log"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ Diaspora::Application.routes.draw do
|
||||||
|
|
||||||
match '.well-known/host-meta',:to => 'publics#host_meta'
|
match '.well-known/host-meta',:to => 'publics#host_meta'
|
||||||
match 'receive/users/:id', :to => 'publics#receive'
|
match 'receive/users/:id', :to => 'publics#receive'
|
||||||
|
match 'log', :to => "dev_utilities#log"
|
||||||
#root
|
#root
|
||||||
root :to => 'groups#index'
|
root :to => 'groups#index'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue