Mailinglist Archive: yast-commit (1809 mails)

< Previous Next >
[yast-commit] <web-client> network : added docu and public/vendor directory
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Thu, 3 Sep 2009 09:01:05 +0200
  • Message-id: <E1MjDJY-0001Je-Vz@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit 1c20d3cb9d2ab297917bd15870b4e6cf117416a2
Author: Stefan Schubert <schubi@xxxxxxx>
Date: Thu Sep 3 09:01:05 2009 +0200

added docu and public/vendor directory
---
webclient/config/environment.rb | 2 +-
webclient/public/vendor/README | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/webclient/config/environment.rb b/webclient/config/environment.rb
index 14c9f0a..496f9bd 100644
--- a/webclient/config/environment.rb
+++ b/webclient/config/environment.rb
@@ -76,7 +76,7 @@ init = Rails::Initializer.run do |config|
# is the directory "vendor" in the "public" directory. Each file in the
public
# directory can be exchanged by putting a file with the same path in the
vendor
# directory.
- # Please take care that all links in the views has to defined by the
AssetTagHelper like
+ # Please take care that all links in the views have to be defined by the
AssetTagHelper like
# image_tag, stylesheet_link_tag, javascript_include_tag, ...
config.action_controller.asset_host = Proc.new do |source, request|
path = "#{config.root_path}/public/vendor#{source}".split("?")
diff --git a/webclient/public/vendor/README b/webclient/public/vendor/README
new file mode 100644
index 0000000..2f5c9a2
--- /dev/null
+++ b/webclient/public/vendor/README
@@ -0,0 +1,5 @@
+This directory is used for overwriting,exchaninging images, stylesheets,....
for special vendors
+Each file in the public directory can be exchanged by putting a file with the
same path here.
+
+Please take care that all links in the views have to be defined by the
AssetTagHelper like
+image_tag, stylesheet_link_tag, javascript_include_tag, ...
\ No newline at end of file
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages