Skip to content

Commit

Permalink
basic renaming from notification rule to notification subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingmachine committed Nov 13, 2012
1 parent 8aa54c6 commit c254ee1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
whoops (0.3.4)
whoops (0.3.5)
haml
kaminari
mongo
Expand Down Expand Up @@ -155,7 +155,7 @@ GEM
tilt (~> 1.1, != 1.3.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
treetop (1.4.11)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/whoops.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ li {
}
}

.container-fluid {
#main {
padding-bottom:1em;
}

/* sidebar */
.cntainer-fluid .sidebar {
.container-fluid .sidebar {
margin-left:-20px;
margin-top:-20px;
padding-left:20px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class NotificationRulesController < ApplicationController
class NotificationSubscriptionsController < ApplicationController
layout 'whoops'

def index
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/whoops.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
.listfill
.container-fluid
= link_to "Event Groups", whoops_event_groups_path, :class => "brand"
= link_to "Notification Rules", whoops_notification_rules_path, :class => "brand"
= link_to "Notification Subscriptions", whoops_notification_subscriptions_path, :class => "brand"
= link_to "Whoops Documentation", "http://www.whoopsapp.com/", :class => "documentation"
.container-fluid
.container-fluid#main
.sidebar
= yield :sidebar
.content
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
end

resources :events, :as => "whoops_events"
resources :notification_rules, :as => "whoops_notification_rules"
resources :notification_subscriptions, :as => "whoops_notification_subscriptions"
end

0 comments on commit c254ee1

Please sign in to comment.