Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cleaned up documentation a bit
  • Loading branch information
kraih committed Sep 8, 2011
1 parent 2cdc5bc commit e56de4c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -66,7 +66,6 @@ set of special tags and line start characters.
%# Comment line, treated as "<%# line =%>"
%% Replaced with "%", useful for generating templates

The simplest form is used to insert raw Perl code.
Tags and lines work pretty much the same, but depending on context one will
usually look a bit better.

Expand Down Expand Up @@ -123,8 +122,6 @@ controller instance as C<$self>.
There are also many built-in helper functions such as C<url_for>, which
allows you to generate the URL of a specific route just from its name.

$r->route('/foo/:name')->to('foo#bar')->name('some_route');

<%= url_for 'some_route' %>

=head1 BASICS
Expand Down Expand Up @@ -218,7 +215,8 @@ mapping of the C<format> stash value.

$self->render(text => 'Hello!', format => 'txt');

These mappings can be easily extended or changed.
These mappings can be easily extended or changed through
L<Mojolicious::Types>.

# Application
package MyApp;
Expand Down

0 comments on commit e56de4c

Please sign in to comment.