MS added a log route for easy access

This commit is contained in:
maxwell 2010-08-27 13:33:28 -07:00
parent 9b690b863a
commit d1bac3e078
2 changed files with 7 additions and 0 deletions

View file

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

View file

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