pettanr_unknown_v01_licenses 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ module PettanrUnknownV01Licenses
29
29
  respond_to do |format|
30
30
  if @unknown_license.valid?
31
31
  format.html { render main_app.new_resource_picture_path }
32
- format.json { render json: @resource_picture.to_json(ResourcePicture.show_json_opt), status: :created }
32
+ format.json { render json: @resource_picture.to_json(ResourcePicture.show_json_opt), status: :created, location: @resource_picture }
33
33
  else
34
34
  format.html { render action: "new" }
35
35
  format.json { render json: @resource_picture.errors, status: :unprocessable_entity }
@@ -15,3 +15,4 @@ ja:
15
15
  next: 次へ
16
16
  digest_credit: クレジット
17
17
  full_credit: クレジット完全版
18
+
@@ -1,3 +1,3 @@
1
1
  module PettanrUnknownV01Licenses
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pettanr_unknown_v01_licenses
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: