diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 0c814f4..d885dff 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -43,7 +43,7 @@ class Admin::JournalPapersController < OrbitMemberController format.html { redirect_to admin_journal_papers_path } format.xml { render :xml => @journal_paper, :status => :created, :location => @journal_paper } else - format.html { render :action => "new" } + format.html { render action: "new" } format.xml { render :xml => @journal_paper.errors, :status => :unprocessable_entity } end end @@ -59,7 +59,7 @@ class Admin::JournalPapersController < OrbitMemberController # format.js { render 'toggle_enable' } format.xml { head :ok } else - format.html { render :action => "edit" } + format.html { render action: "edit" } format.xml { render :xml => @writing_journal.errors, :status => :unprocessable_entity } end end diff --git a/app/views/admin/journal_papers/_author_type_qe.html.erb b/app/views/admin/journal_papers/_author_type_qe.html.erb index 6a9e6ef..5ad6a8f 100644 --- a/app/views/admin/journal_papers/_author_type_qe.html.erb +++ b/app/views/admin/journal_papers/_author_type_qe.html.erb @@ -17,7 +17,7 @@ <%= f.fields_for :title_translations do |f| %> <% @site_in_use_locales.each do |locale| %>