Skip to content

Commit

Permalink
Merge pull request #75 from hsum/master
Browse files Browse the repository at this point in the history
Update views.rst
  • Loading branch information
dpgaspar committed Jan 2, 2015
2 parents 9580e83 + 627f291 commit eef1ef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ inside it create a file name 'method3.html'

2 - Add the following method on your *MyView* class::

from flask import render_template
@expose('/method3/<string:param1>')
@has_access
def method3(self, param1):
Expand Down

0 comments on commit eef1ef9

Please sign in to comment.