Skip to content
Permalink
Browse files

Fixing typo.

Removing newlines
  • Loading branch information...
markstory committed May 20, 2009
1 parent a4f6fdc commit 6eada280cf09c7c631adc462d59060457547ad7a
@@ -168,7 +168,7 @@ function __interactive() {
$wannaBakeCrud = 'n';
$actions = 'scaffold';
} else {
list($wannaBakeCrud, $wannaBakeCrud) = $this->_askAboutMethods();
list($wannaBakeCrud, $wannaBakeAdminCrud) = $this->_askAboutMethods();
$helpers = $this->doHelpers();
$components = $this->doComponents();
@@ -288,7 +288,6 @@ function bakeActions($controllerName, $admin = null, $wannaUseSession = true) {
$this->Template->set(compact('admin', 'controllerPath', 'pluralName', 'singularName', 'singularHumanName',
'pluralHumanName', 'modelObj', 'wannaUseSession', 'currentModelName'));
$actions = $this->Template->generate('objects', 'controller_actions');
return $actions;
}
@@ -26,7 +26,6 @@
$this->set('<?php echo $pluralName ?>', $this->paginate());
}


function <?php echo $admin ?>view($id = null) {
if (!$id) {
<?php if ($wannaUseSession): ?>
@@ -40,7 +39,6 @@
}

<?php $compact = array(); ?>

function <?php echo $admin ?>add() {
if (!empty($this->data)) {
$this-><?php echo $currentModelName; ?>->create();

0 comments on commit 6eada28

Please sign in to comment.
You can’t perform that action at this time.