Class CGIActions
In: femto.rb
Parent: Object

This class directly matches the actions passed as GET parameter.

Methods

cancel   css   delete   fetch   help   javascript   post   preview   show_board  

Public Instance methods

Return the CSS asset as text/css Expiry date is set to NOW + ASSET_EXPIRE_AGE

Delete the item with deleteid as GET parameter "id"

Fetch the item with the ID passed as GET parameter "id" and return the description as plain text. Used in AJAX interface.

Print the built-in documentation, no fancy nothing

Return the javascript asset as text/javascript Expiry date is set to NOW + ASSET_EXPIRE_AGE

Create the item using query parameters "post_head", "post_desc" and "section". If PUBLIC_DELETE_LINK is set show the board afterwards, otherwise show a page containing the deletion link to be saved by the user.

The the Femto board.

[Validate]