<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My exquisite canvas by Amirul Adli</title>
      <link>https://padlet.com/bengkel/k7hpz1njvurf</link>
      <description>Made with a taste for adventure</description>
      <language>en-us</language>
      <pubDate>2019-03-30 03:42:59 UTC</pubDate>
      <lastBuildDate>2019-05-15 08:25:33 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>resources/views/post/index.blade.php</title>
         <author>bengkel</author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346738276</link>
         <description><![CDATA[<div>&lt;ul&gt;</div><div>    @foreach ($posts as $post)</div><div>    &lt;li&gt;</div><div>        &lt;a href="{{ route('posts.edit', $post) }}"&gt;</div><div>            {{ $post-&gt;title }}</div><div>        &lt;/a&gt;</div><div>        &lt;img width="60" src="{{ asset('storage/'.$post-&gt;image) }}" alt=""&gt;</div><div>    &lt;/li&gt;        </div><div>    @endforeach</div><div>&lt;/ul&gt;</div><div><br></div><div>&lt;a href="{{ route('posts.create') }}"&gt;Add post&lt;/a&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 03:45:01 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346738276</guid>
      </item>
      <item>
         <title>app/http/controllers/PostController.php</title>
         <author>bengkel</author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346739735</link>
         <description><![CDATA[<div> </div><div>&lt;?php </div><div><br></div><div>namespace App\Http\Controllers;</div><div><br></div><div>use Illuminate\Http\Request;</div><div>use App\Post;</div><div><br></div><div>class PostController extends Controller</div><div>{</div><div>    public function index()</div><div>    {</div><div>        $post = new Post;</div><div>        $posts = $post-&gt;all();</div><div><br></div><div>        return view('post.index', [</div><div>            'posts' =&gt; $posts</div><div>        ]);</div><div>    }</div><div><br></div><div>    public function create()</div><div>    {</div><div>        return view('post.create');</div><div>    }</div><div><br></div><div>    public function store(Request $request)</div><div>    {</div><div>        $post = new Post;</div><div><br></div><div>        $post-&gt;title = $request-&gt;title;</div><div>        $post-&gt;content = $request-&gt;content;</div><div><br></div><div>        if ($request-&gt;hasFile('image')) {</div><div>            $post-&gt;image = $request-&gt;image-&gt;store('images', 'public');</div><div>        } else {</div><div>            $post-&gt;image = '';</div><div>        }</div><div><br><br></div><div>        $post-&gt;save();</div><div><br></div><div>        return redirect()-&gt;route('posts.index');</div><div>    }</div><div><br></div><div>    public function edit(Post $post)</div><div>    {</div><div>        return view('post.edit', [</div><div>            'post' =&gt; $post</div><div>        ]);</div><div>    }</div><div><br></div><div>    public function update(Request $request, Post $post)</div><div>    {</div><div>        $post-&gt;title = $request-&gt;title;</div><div>        $post-&gt;content = $request-&gt;content;</div><div><br></div><div>        if ($request-&gt;hasFile('image')) {</div><div>            $post-&gt;image = $request-&gt;image-&gt;store('images', 'public');</div><div>        }</div><div><br></div><div>        $post-&gt;save();</div><div><br></div><div>        return redirect()-&gt;route('posts.index');</div><div>    }</div><div><br></div><div>    public function delete(Post $post)</div><div>    {</div><div>        $post-&gt;delete();</div><div><br></div><div>        return redirect()-&gt;route('posts.index');</div><div>    }</div><div>}</div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 04:10:42 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346739735</guid>
      </item>
      <item>
         <title>resources/views/post/edit.blade.php</title>
         <author>bengkel</author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346746402</link>
         <description><![CDATA[<div>&lt;form action="{{ route('posts.update', $post) }}" method="post" enctype="multipart/form-data"&gt;</div><div>    {{ csrf_field() }}</div><div><br></div><div>    Title:</div><div>    &lt;input type="text" name="title" value="{{ $post-&gt;title }}"&gt;</div><div>    &lt;br&gt;</div><div>    Content:</div><div>    &lt;textarea name="content" id="" cols="30" rows="10"&gt;{{ $post-&gt;content }}&lt;/textarea&gt;</div><div>    &lt;br&gt;</div><div>    Image:</div><div>    &lt;img width="60" src="{{ asset('storage/'.$post-&gt;image) }}" alt=""&gt;</div><div>    &lt;input type="file" name="image"&gt;</div><div>    &lt;button type="submit"&gt;Save&lt;/button&gt;</div><div>    &lt;button type="submit" formaction="{{ route('posts.delete', $post) }}"&gt;Delete&lt;/button&gt;</div><div>&lt;/form&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 06:30:36 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346746402</guid>
      </item>
      <item>
         <title>Q</title>
         <author>bengkel</author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346746974</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 06:43:46 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346746974</guid>
      </item>
      <item>
         <title>problem</title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346747518</link>
         <description><![CDATA[<div>syntax error, unexpected 'post' (T_STRING), expecting variable (T_VARIABLE) or '{' or '$' (View: C:\xampp\htdocs\blog\resources\views\post\index.blade.php)</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 06:56:43 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346747518</guid>
      </item>
      <item>
         <title>help!!</title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748135</link>
         <description><![CDATA[<div>Undefined variable: post (View: C:\xampp\htdocs\blog\resources\views\post\edit.blade.php)</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 07:12:43 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748135</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748433</link>
         <description><![CDATA[<div>tgk ada s ke tak kat $post</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 07:19:33 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748433</guid>
      </item>
      <item>
         <title>error</title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748881</link>
         <description><![CDATA[<div>Creating default object from empty value</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 07:28:57 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346748881</guid>
      </item>
      <item>
         <title>tolong</title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346749004</link>
         <description><![CDATA[<div>Route [posts.update] not defined. (View: C:\xampp\htdocs\blog\resources\views\post\edit.blade.php)</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 07:31:48 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346749004</guid>
      </item>
      <item>
         <title>git</title>
         <author>bengkel</author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346750651</link>
         <description><![CDATA[<pre>git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/......./.......git
git push -u origin master</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 08:06:28 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346750651</guid>
      </item>
      <item>
         <title>Hukaloh</title>
         <author></author>
         <link>https://padlet.com/bengkel/k7hpz1njvurf/wish/346752924</link>
         <description><![CDATA[<div>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecoh<br>Sek kito jange pecohSek kito jange pecoh<br>Sek kito jange pecoh<br>Pochinki for life</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-30 08:45:24 UTC</pubDate>
         <guid>https://padlet.com/bengkel/k7hpz1njvurf/wish/346752924</guid>
      </item>
   </channel>
</rss>
