Revision 2e04e41b
Added by Ohad Levy almost 14 years ago
- ID 2e04e41bfa05c123bab0b436dccb0c344d7ee417
app/helpers/application_helper.rb | ||
---|---|---|
page['tabs'].toggle
|
||
end
|
||
end
|
||
|
||
# a simple helper to load the google JS only on pages which requires it
|
||
def gcharts_script
|
||
content_for :head do
|
||
"<script src=http://www.google.com/jsapi></script>"
|
||
end
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
CSS rework, aligned view on all pages
removed google JS from pages which do not require it