mosaic-errors 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,9 @@ class ErrorsGenerator < Rails::Generators::NamedBase
2
2
  source_root File.expand_path('../templates/', __FILE__)
3
3
 
4
4
  def setup
5
- route "/404", :to => "errors#not_found"
6
- route "/422", :to => "errors#unprocessable_entity"
7
- route "/500", :to => "errors#internal_server_error"
5
+ route "match '/404', :to => 'errors#not_found'"
6
+ route "match '/422', :to => 'errors#unprocessable_entity'"
7
+ route "match '/500', :to => 'errors#internal_server_error'"
8
8
 
9
9
  application "config.exceptions_app = self.routes"
10
10
 
@@ -1,5 +1,5 @@
1
1
  module Mosaic
2
2
  module Errors
3
- VERSION = "2.0.4"
3
+ VERSION = "2.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mosaic-errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: