]> cat aescling's git repositories - mastodon.git/commit
Clean up about page (#1282)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sun, 9 Apr 2017 12:47:25 +0000 (08:47 -0400)
committerEugen <eugen@zeonfederated.com>
Sun, 9 Apr 2017 12:47:25 +0000 (14:47 +0200)
commite5282e4ec0e9dab62dde9481284b0cfd30690fb9
tree9af1aadcf9dc34338c828edb3ed9a9aa265b05e6
parent53eb31f124b8cb366f45ac0aec36e346115e334f
Clean up about page (#1282)

* Add InstancePresenter to expose site details

* Clean up about controller, use instance presenter
app/controllers/about_controller.rb
app/presenters/instance_presenter.rb [new file with mode: 0644]
app/views/about/_registration.html.haml [new file with mode: 0644]
app/views/about/more.html.haml
app/views/about/show.html.haml [moved from app/views/about/index.html.haml with 60% similarity]
config/routes.rb
spec/controllers/about_controller_spec.rb
spec/presenters/instance_presenter_spec.rb [new file with mode: 0644]