Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
production ready
  • Loading branch information
cws13003 committed Dec 8, 2017
1 parent e2c3612 commit eb691ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/application/controllers/User_Tweets.php
Expand Up @@ -35,7 +35,7 @@ class User_Tweets extends CI_Controller {
else
{
$this->User_Tweets_Model->addTweet();
redirect("/user_tweets");
redirect("/User_Tweets");
}

}
Expand Down
1 change: 1 addition & 0 deletions www/application/views/login.php
@@ -1,4 +1,5 @@
<?php
error_reporting(0);
$this->load->library('form_validation');
echo form_open('login');
?>
Expand Down
1 change: 1 addition & 0 deletions www/application/views/register.php
@@ -1,4 +1,5 @@
<?php
error_reporting(0);
$this->load->library('form_validation');
echo form_open('register'); ?>
<div class="login register container">
Expand Down
4 changes: 2 additions & 2 deletions www/application/views/user.php
@@ -1,5 +1,5 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
ini_set('error_reporting', 0);
error_reporting(0);
?>
<div class="home container">
<h1>My Profile</h1>
Expand All @@ -23,7 +23,7 @@ ini_set('error_reporting', 0);
</div>
</div>
<div class="col-md-8 tweet-submit">
<?php echo form_open('user_tweets/create'); ?>
<?php echo form_open('User_Tweets/create'); ?>

<div class="form-group">
<textarea class="form-control" rows="3" name="tweet" value="<?php echo set_value('tweet'); ?>" placeholder="What's on your mind?"></textarea>
Expand Down

0 comments on commit eb691ad

Please sign in to comment.