Showing 2 of 7 total issues
Function taxon_tree_menu
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
root.taxon_tree_menu = function(obj, context) {
var admin_base_url, edit_url, id, translation_base_path, translation_url;
id = obj.attr("id");
admin_base_url = Spree.path_for("admin/taxonomies/" + obj.data('taxonomy-id') + "/taxons");
edit_url = admin_base_url.clone();
Method prepended
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.prepended(base)
base.class_eval do
translates :name,
:description,
:meta_description,