Permalink
Browse files

removes link in admin menu for assets

  • Loading branch information...
1 parent 01b5411 commit 47432b5e429989f4f84064c798856bcb6be56803 @bshaffer committed Oct 24, 2010
View
3 config/locales/de.yml
@@ -2,5 +2,4 @@
de:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/en.yml
@@ -2,5 +2,4 @@
en:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/es.yml
@@ -2,5 +2,4 @@
es:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/fr.yml
@@ -2,5 +2,4 @@
fr:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/it.yml
@@ -2,5 +2,4 @@
it:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/ja.yml
@@ -2,5 +2,4 @@
ja:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/ko.yml
@@ -2,5 +2,4 @@
ko:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/ru.yml
@@ -2,5 +2,4 @@
ru:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
3 config/locales/zh.yml
@@ -2,5 +2,4 @@
zh:
asset_project_not_found_error: "Project not found!"
assets_project_heading: Assets for
- label_asset_plural: Assets
- assets_title: My Assets
+ label_asset_plural: Assets
View
8 init.rb
@@ -13,13 +13,7 @@
{:asset => [:create, :destroy, :new, :toggle_complete, :sort, :edit, :update],
:issues => [:create, :destroy, :new, :toggle_complete, :sort, :edit, :update]}
end
-
- menu :top_menu, :assets, { :controller => 'assets', :action => 'index' },
- :caption => :assets_title,
- :if => Proc.new {
- User.current.allowed_to?(:use_personal_assets, nil, :global => true)
- }
-
+
menu :project_menu, :assets, {:controller => 'assets', :action => 'index'},
:caption => :label_asset_plural, :after => :new_issue, :param => :project_id

0 comments on commit 47432b5

Please sign in to comment.