Changeset 74 in bookmarks for trunk/lib/Bookmarks


Ignore:
Timestamp:
04/11/14 09:46:16 (11 years ago)
Author:
peter
Message:

fixed typo in 404 error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Bookmarks/Controller.pm

    r71 r74  
    149149        } 
    150150    } else { 
    151         return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Boomark $id not found"]]; 
     151        return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Bookmark $id not found"]]; 
    152152    } 
    153153} 
     
    170170        return [200, ['Content-Type' => 'text/plain; charset=UTF-8', 'Last-Modified' => $last_modified], [ref $value eq 'ARRAY' ? join(' ', @{ $value }) : $value]]; 
    171171    } else { 
    172         return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Boomark $id not found"]]; 
     172        return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Bookmark $id not found"]]; 
    173173    } 
    174174} 
     
    208208        return [303, ['Location' => $bookmark->bookmark_uri->canonical], []]; 
    209209    } else { 
    210         return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Boomark $id not found"]]; 
     210        return [404, ['Content-Type' => 'text/plain; charset=UTF-8'], ["Bookmark $id not found"]]; 
    211211    } 
    212212} 
Note: See TracChangeset for help on using the changeset viewer.