Ignore:
Timestamp:
Oct 12, 2009, 10:42:58 AM (15 years ago)
Author:
gav
Message:

Replace all deprecated "createLinkTo" links with "resource".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/main.gsp

    r142 r151  
    33    <head>
    44        <title><g:layoutTitle default="gnuMims" /></title>
    5         <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'main.css')}" />
    6         <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
     5        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
     6        <link rel="shortcut icon" href="${resource(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
    77        <g:layoutHead />
    88        <g:helpBalloons/>
     
    1818            <div id="content" align="center">
    1919                <div id="spinner" class="spinner" style="display:none;">
    20                     <img src="${createLinkTo(dir:'images',file:'spinner.gif')}" alt="Spinner" />
     20                    <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
    2121                </div> 
    2222                <div id="Header">
Note: See TracChangeset for help on using the changeset viewer.