core/rails/app/controllers/application_controller.rb
# 501 for actions that are not supported
501 for actions that are not supported
501 for actions that are not supported
def api_not_implemented(object, attempted, suggestion)
    return {:json => {
        :message => I18n.t('api.not_implemented', :requested=>attempted, :suggestion=>suggestion),
        :status => 501
      },
      :status => 501,
      :content_type=>cb_content_type(object, "error")
    }
  end
def api_not_implemented ( object , attempted , suggestion ) return { :json => { :message => I18n . t ( 'api.not_implemented' , :requested => attempted , :suggestion => suggestion ) , :status => 501 } , :status => 501 , :content_type => cb_content_type ( object , "error" ) } end
501 for actions that are not supported
501 for actions that are not supported
object
<not_specific>
attempted
<not_specific>
suggestion
<not_specific>