mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Merge pull request #349 from MikeSmithEU/patch-1
Fix typo in test-app/app/controllers/blogs_controller.rb
This commit is contained in:
commit
89f95694a4
@ -32,7 +32,7 @@ class BlogsController < ApplicationController
|
||||
@blog = Blog.find_by_id(params[:id])
|
||||
return head :not_found if @blog.nil?
|
||||
@blog.thumbnail = save_uploaded_file params[:file]
|
||||
head @blog.save ? :ok : :unprocsessible_entity
|
||||
head @blog.save ? :ok : :unprocessable_entity
|
||||
end
|
||||
|
||||
# GET /blogs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user