diff --git a/app/controllers/smithy/content_pieces_controller.rb b/app/controllers/smithy/content_resources_controller.rb similarity index 92% rename from app/controllers/smithy/content_pieces_controller.rb rename to app/controllers/smithy/content_resources_controller.rb index 7318ad4..5942766 100644 --- a/app/controllers/smithy/content_pieces_controller.rb +++ b/app/controllers/smithy/content_resources_controller.rb @@ -1,6 +1,6 @@ require_dependency "smithy/base_controller" -class Smithy::ContentPiecesController < Smithy::BaseController +class Smithy::ContentResourcesController < Smithy::BaseController before_filter :set_controller_path respond_to :html, :json @@ -56,7 +56,7 @@ def destroy private def klass # override to provide an object for each class - raise "You must inherit from this Smithy::ContentPiecesController and provide a private #klass method" + raise "You must inherit from this Smithy::ContentResourcesController and provide a private #klass method" end def klass_name diff --git a/app/views/layouts/smithy/shared/_nav.html.erb b/app/views/layouts/smithy/shared/_nav.html.erb index 299fc7b..caf8ed9 100644 --- a/app/views/layouts/smithy/shared/_nav.html.erb +++ b/app/views/layouts/smithy/shared/_nav.html.erb @@ -14,6 +14,9 @@