From 7e14eefc819ce27f45406452a4f8e2039d0f0886 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 26 Sep 2016 23:55:21 +0200 Subject: Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app registration API --- app/views/api/apps/create.rabl | 4 ++++ app/views/application/_logo.html.erb | 11 ----------- app/views/layouts/auth.html.haml | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) create mode 100644 app/views/api/apps/create.rabl delete mode 100644 app/views/application/_logo.html.erb (limited to 'app/views') diff --git a/app/views/api/apps/create.rabl b/app/views/api/apps/create.rabl new file mode 100644 index 000000000..1ff6469a4 --- /dev/null +++ b/app/views/api/apps/create.rabl @@ -0,0 +1,4 @@ +object @app +attributes :id, :redirect_uri +node(:client_id) { |app| app.uid } +node(:client_secret) { |app| app.secret } diff --git a/app/views/application/_logo.html.erb b/app/views/application/_logo.html.erb deleted file mode 100644 index 21fa4f657..000000000 --- a/app/views/application/_logo.html.erb +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/app/views/layouts/auth.html.haml b/app/views/layouts/auth.html.haml index bddba570a..54aa07e2c 100644 --- a/app/views/layouts/auth.html.haml +++ b/app/views/layouts/auth.html.haml @@ -3,7 +3,7 @@ .logo-container %h1 = link_to root_path do - = render partial: 'application/logo', locals: { dim: 200 } + = image_tag 'logo.png' %small= Rails.configuration.x.local_domain .form-container -- cgit