Sha256: d52f80d17bc7cb47652a88c84fefce58087e81a1bd5bd7ce05313d861a3aaf28

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 Bytes

Contents

#http://accuser.cc/posts/1-rails-3-0-exception-handling
module PublishMyData
  class ErrorsController < ApplicationController
    def routing
      # just re-raise a tripod not found error. Handled in Application Controller
      raise Tripod::Errors::ResourceNotFound
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publish_my_data-0.0.10 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.9 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.8 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.7 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.5 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.4 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.3 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.2 app/controllers/publish_my_data/errors_controller.rb
publish_my_data-0.0.1 app/controllers/publish_my_data/errors_controller.rb