Skip to content
Snippets Groups Projects
Commit 4326d1ea authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Merge branch 'master' of github.com:noesya/osuny

parents 8b407995 e869bfc0
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,10 @@ class Users::RegistrationsController < Devise::RegistrationsController ...@@ -26,6 +26,10 @@ class Users::RegistrationsController < Devise::RegistrationsController
protected protected
def sign_up(resource_name, resource)
sign_in(resource, event: :authentication)
end
def update_resource(resource, params) def update_resource(resource, params)
resource.update(params) resource.update(params)
end end
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# text :text # text :text
# title :string # title :string
# created_at :datetime not null # created_at :datetime not null
# updated_at :date not null # updated_at :datetime not null
# research_journal_id :uuid not null # research_journal_id :uuid not null
# research_journal_volume_id :uuid # research_journal_volume_id :uuid
# university_id :uuid not null # university_id :uuid not null
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<%= image_tag @post.featured_image.variant(resize: '600'), class: 'img-fluid mb-3' %><br> <%= image_tag @post.featured_image.variant(resize: '600'), class: 'img-fluid mb-3' %><br>
<%= @post.featured_image.url %>
</div> </div>
</div> </div>
<% end %> <% end %>
......
...@@ -268,7 +268,7 @@ ActiveRecord::Schema.define(version: 2021_10_25_062028) do ...@@ -268,7 +268,7 @@ ActiveRecord::Schema.define(version: 2021_10_25_062028) do
t.uuid "research_journal_id", null: false t.uuid "research_journal_id", null: false
t.uuid "research_journal_volume_id" t.uuid "research_journal_volume_id"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.date "updated_at", null: false t.datetime "updated_at", precision: 6, null: false
t.uuid "updated_by_id" t.uuid "updated_by_id"
t.text "abstract" t.text "abstract"
t.text "references" t.text "references"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment