diff --git a/app/models/app.rb b/app/models/app.rb index 42c317a..d928bc0 100644 --- a/app/models/app.rb +++ b/app/models/app.rb @@ -5,7 +5,8 @@ class App field :name, :type => String field :api_key field :resolve_errs_on_deploy, :type => Boolean, :default => false - key :name + # Some legacy apps may have sting as key instead of BSON::ObjectID + identity :type => String embeds_many :watchers embeds_many :deploys diff --git a/app/views/errs/show.html.haml b/app/views/errs/show.html.haml index 62f533c..11b4fb9 100644 --- a/app/views/errs/show.html.haml +++ b/app/views/errs/show.html.haml @@ -1,6 +1,8 @@ - content_for :page_title, @err.message - content_for :title, @err.klass - content_for :meta do + %strong App: + = @app.name %strong Where: = @err.where %strong Environment: -- libgit2 0.21.2