Skip to content

Commit

Permalink
cleaning out unused helpers, making some helpers load more cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingzumwalt committed Apr 30, 2011
1 parent f4a63dd commit 890c761
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 508 deletions.
6 changes: 3 additions & 3 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# Load Blacklight's ApplicationController first
require_dependency "vendor/plugins/blacklight/app/controllers/application_controller.rb"

class ApplicationController
class ApplicationController

include HydraAccessControlsHelper

helper :all
helper :hydra_access_controls, :hydra_djatoka, :downloads, :metadata, :hydra, :custom_metadata, :hydra_fedora_metadata, :hydra_assets
helper :generic_content_objects, :personalization, :hydrangea_datasets
helper :hydra_access_controls, :hydra_djatoka, :downloads, :hydra, :hydra_fedora_metadata, :hydra_assets
helper :generic_content_objects, :personalization

# helper_method [:request_is_for_user_resource?]#, :user_logged_in?]
before_filter [:store_bounce]
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/assets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AssetsController < ApplicationController


include Blacklight::CatalogHelper
helper :hydra, :metadata, :infusion_view
helper :hydra

before_filter :search_session, :history_session
before_filter :require_solr, :require_fedora
Expand Down
1 change: 1 addition & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "hydra_helper"
module ApplicationHelper
include Stanford::SearchworksHelper
#include Stanford::SolrHelper # this is already included by the SearchworksHelper
Expand Down
232 changes: 0 additions & 232 deletions app/helpers/custom_metadata_helper.rb

This file was deleted.

Loading

0 comments on commit 890c761

Please sign in to comment.